Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001454/0.001454, allocations: 113 kB / 18.49 MB, free: 4.539 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.00128/0.00128, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 51.92 kB / 373.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08804/0.08948, allocations: 53.33 MB / 427 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002351/0.09183, allocations: 1.381 MB / 428.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.33/0.4218, allocations: 152 MB / 0.5668 GB, free: 7.043 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.4218, allocations: 0 / 0.5668 GB, free: 7.043 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.4219, allocations: 3.938 kB / 0.5668 GB, free: 7.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.4227, allocations: 244.9 kB / 0.5671 GB, free: 6.805 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.4236, allocations: 397.1 kB / 0.5674 GB, free: 6.426 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.4237, allocations: 55.66 kB / 0.5675 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.4237, allocations: 7.984 kB / 0.5675 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.4238, allocations: 19.94 kB / 0.5675 GB, free: 6.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.4238, allocations: 35.89 kB / 0.5676 GB, free: 6.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.4238, allocations: 4 kB / 0.5676 GB, free: 6.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.425, allocations: 0.694 MB / 0.5682 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.425, allocations: 7.984 kB / 0.5682 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.425, allocations: 27.8 kB / 0.5683 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.4257, allocations: 499.4 kB / 0.5687 GB, free: 5.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4258, allocations: 4.844 kB / 0.5688 GB, free: 5.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4258, allocations: 0 / 0.5688 GB, free: 5.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4258, allocations: 0 / 0.5688 GB, free: 5.086 MB / 478.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.0005941/0.4264, allocations: 434.5 kB / 0.5692 GB, free: 4.613 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4264, allocations: 12.03 kB / 0.5692 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.4264, allocations: 192 / 0.5692 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.4264, allocations: 35.36 kB / 0.5692 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.4278, allocations: 108.8 kB / 0.5693 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.4281, allocations: 223.5 kB / 0.5695 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4281, allocations: 4.938 kB / 0.5695 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4281, allocations: 4 kB / 0.5695 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4283, allocations: 93.52 kB / 0.5696 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4283, allocations: 4 kB / 0.5696 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4283, allocations: 3.984 kB / 0.5696 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4284, allocations: 0 / 0.5696 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.4285, allocations: 47.89 kB / 0.5697 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.4288, allocations: 210.9 kB / 0.5699 GB, free: 3.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.4293, allocations: 117.2 kB / 0.57 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4294, allocations: 41.69 kB / 0.57 GB, free: 3.594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/0.4301, allocations: 0.9911 MB / 0.571 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4301, allocations: 30.56 kB / 0.571 GB, free: 2.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 4.418e-06/0.4301, allocations: 4 kB / 0.571 GB, free: 2.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004796/0.4306, allocations: 137.5 kB / 0.5712 GB, free: 2.199 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4307, allocations: 81.05 kB / 0.5712 GB, free: 2.102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.4309, allocations: 149.8 kB / 0.5714 GB, free: 1.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4309, allocations: 25.7 kB / 0.5714 GB, free: 1.914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.4309, allocations: 92.12 kB / 0.5715 GB, free: 1.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.431, allocations: 19.8 kB / 0.5715 GB, free: 1.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.431, allocations: 33.69 kB / 0.5715 GB, free: 1.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4312, allocations: 326.8 kB / 0.5719 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4313, allocations: 23.97 kB / 0.5719 GB, free: 1.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4314, allocations: 54.5 kB / 0.5719 GB, free: 1.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.4317, allocations: 91.33 kB / 0.572 GB, free: 1.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4317, allocations: 0 / 0.572 GB, free: 1.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003473/0.432, allocations: 121.5 kB / 0.5721 GB, free: 1.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.432, allocations: 8 kB / 0.5721 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.432, allocations: 0 / 0.5721 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.432, allocations: 0 / 0.5721 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4322, allocations: 24.03 kB / 0.5722 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4322, allocations: 4 kB / 0.5722 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.4324, allocations: 12.67 kB / 0.5722 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4324, allocations: 4 kB / 0.5722 GB, free: 1.07 MB / 478.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 9.037e-05/0.4325, allocations: 121.8 kB / 0.5723 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.4325, allocations: 7.953 kB / 0.5723 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.4331, allocations: 241.1 kB / 0.5725 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4331, allocations: 4.906 kB / 0.5725 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4331, allocations: 0 / 0.5725 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4331, allocations: 4 kB / 0.5725 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4333, allocations: 218.9 kB / 0.5728 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4333, allocations: 4 kB / 0.5728 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4335, allocations: 23.97 kB / 0.5728 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4335, allocations: 0.875 kB / 0.5728 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4335, allocations: 4 kB / 0.5728 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.4335, allocations: 10.64 kB / 0.5728 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4335, allocations: 0 / 0.5728 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.434, allocations: 169.8 kB / 0.573 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.434, allocations: 93.06 kB / 0.573 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4341, allocations: 13.19 kB / 0.5731 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4342, allocations: 4 kB / 0.5731 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4343, allocations: 11.92 kB / 0.5731 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4343, allocations: 4 kB / 0.5731 GB, free: 60 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.4345, allocations: 131.2 kB / 0.5732 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4345, allocations: 4 kB / 0.5732 GB, free: 15.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.435, allocations: 143.5 kB / 0.5733 GB, free: 15.79 MB / 494.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001193/0.4361, allocations: 0.9017 MB / 0.5742 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.4364, allocations: 71.88 kB / 0.5743 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4364, allocations: 4.125 kB / 0.5743 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4365, allocations: 41.16 kB / 0.5743 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.4368, allocations: 8.281 kB / 0.5743 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.4394, allocations: 1.809 MB / 0.5761 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4396, allocations: 0.6846 MB / 0.5768 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005333/0.4402, allocations: 436.1 kB / 0.5772 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.4403, allocations: 51.39 kB / 0.5772 GB, free: 11.63 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4403, allocations: 0 / 0.5772 GB, free: 11.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.4657, allocations: 6.663 MB / 0.5838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.36, allocations: 8.047 kB / 0.5838 GB, free: 5.109 MB / 494.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 10.724732837988995]