Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005654/0.005654, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 59.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2108, allocations: 49.17 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001842/0.2126, allocations: 1.363 MB / 398.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.3689, allocations: 151.3 MB / 0.5369 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.369, allocations: 0 / 0.5369 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.369, allocations: 7.922 kB / 0.5369 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3701, allocations: 366.5 kB / 0.5372 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3718, allocations: 0.8285 MB / 0.538 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3719, allocations: 79.69 kB / 0.5381 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.372, allocations: 0 / 0.5381 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.372, allocations: 31.86 kB / 0.5381 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.3721, allocations: 39.83 kB / 0.5382 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3721, allocations: 4 kB / 0.5382 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.3744, allocations: 1.485 MB / 0.5396 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.3744, allocations: 11.98 kB / 0.5396 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3745, allocations: 27.86 kB / 0.5397 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.3756, allocations: 0.8581 MB / 0.5405 GB, free: 6.406 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3756, allocations: 4 kB / 0.5405 GB, free: 6.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3756, allocations: 0 / 0.5405 GB, free: 6.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3756, allocations: 3.938 kB / 0.5405 GB, free: 6.398 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005832/0.3762, allocations: 413 kB / 0.5409 GB, free: 5.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3762, allocations: 15.98 kB / 0.5409 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.879e-06/0.3762, allocations: 192 / 0.5409 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3763, allocations: 34.75 kB / 0.541 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.3766, allocations: 32.89 kB / 0.541 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3767, allocations: 142.4 kB / 0.5411 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3767, allocations: 11.94 kB / 0.5411 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3767, allocations: 3.938 kB / 0.5411 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3769, allocations: 71.39 kB / 0.5412 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3769, allocations: 0 / 0.5412 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3769, allocations: 4 kB / 0.5412 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3769, allocations: 4 kB / 0.5412 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.377, allocations: 43.95 kB / 0.5413 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.3772, allocations: 177.5 kB / 0.5414 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3775, allocations: 109.2 kB / 0.5415 GB, free: 5.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.3775, allocations: 33.75 kB / 0.5416 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.378, allocations: 63.94 kB / 0.5416 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.378, allocations: 34.5 kB / 0.5417 GB, free: 5.074 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.378, allocations: 0 / 0.5417 GB, free: 5.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003282/0.3783, allocations: 121.7 kB / 0.5418 GB, free: 4.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3784, allocations: 81.11 kB / 0.5419 GB, free: 4.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3785, allocations: 141.8 kB / 0.542 GB, free: 4.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3785, allocations: 25.7 kB / 0.542 GB, free: 4.672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3786, allocations: 88.14 kB / 0.5421 GB, free: 4.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3786, allocations: 27.75 kB / 0.5421 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3786, allocations: 21.7 kB / 0.5421 GB, free: 4.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3788, allocations: 322.8 kB / 0.5425 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3788, allocations: 27.97 kB / 0.5425 GB, free: 4.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.3789, allocations: 43.45 kB / 0.5425 GB, free: 4.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3791, allocations: 91.28 kB / 0.5426 GB, free: 4.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3791, allocations: 0 / 0.5426 GB, free: 4.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000238/0.3793, allocations: 105.5 kB / 0.5427 GB, free: 3.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3793, allocations: 4 kB / 0.5427 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3793, allocations: 4 kB / 0.5427 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3793, allocations: 3.938 kB / 0.5427 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.3794, allocations: 15.98 kB / 0.5427 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3794, allocations: 0 / 0.5427 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3795, allocations: 12 kB / 0.5427 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3795, allocations: 8 kB / 0.5428 GB, free: 3.863 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.3796, allocations: 121.7 kB / 0.5429 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.3796, allocations: 7.953 kB / 0.5429 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3798, allocations: 114 kB / 0.543 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3798, allocations: 0 / 0.543 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3798, allocations: 0 / 0.543 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3798, allocations: 0 / 0.543 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.38, allocations: 168.6 kB / 0.5431 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.38, allocations: 4 kB / 0.5432 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.3801, allocations: 11.94 kB / 0.5432 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3801, allocations: 0 / 0.5432 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3801, allocations: 7.984 kB / 0.5432 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3801, allocations: 0 / 0.5432 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3801, allocations: 0 / 0.5432 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3804, allocations: 170.3 kB / 0.5433 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3804, allocations: 19.95 kB / 0.5434 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3804, allocations: 4.062 kB / 0.5434 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.3805, allocations: 0 / 0.5434 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3805, allocations: 11.98 kB / 0.5434 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3805, allocations: 4 kB / 0.5434 GB, free: 3.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.3806, allocations: 111.2 kB / 0.5435 GB, free: 3.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 0.5435 GB, free: 3.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005093/0.3811, allocations: 207.3 kB / 0.5437 GB, free: 2.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001582/0.3827, allocations: 1.108 MB / 0.5448 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3829, allocations: 63.95 kB / 0.5448 GB, free: 1.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3829, allocations: 4.062 kB / 0.5448 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.383, allocations: 35.92 kB / 0.5449 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3832, allocations: 19.92 kB / 0.5449 GB, free: 1.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3851, allocations: 1.762 MB / 0.5466 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3854, allocations: 0.6962 MB / 0.5473 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.3854, allocations: 16.31 kB / 0.5473 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3855, allocations: 27.42 kB / 0.5473 GB, free: 14.94 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3855, allocations: 4 kB / 0.5473 GB, free: 14.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.4152, allocations: 7.931 MB / 0.5551 GB, free: 6.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.61, allocations: 19.98 kB / 0.5551 GB, free: 6.938 MB / 478.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.087276404025033]