Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09664, allocations: 53.31 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002442/0.09908, allocations: 1.375 MB / 428 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3468/0.4459, allocations: 152 MB / 0.5665 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.4459, allocations: 5.781 kB / 0.5665 GB, free: 7.254 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.446, allocations: 7.922 kB / 0.5665 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.4469, allocations: 238 kB / 0.5667 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.4479, allocations: 401.6 kB / 0.5671 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.448, allocations: 55.7 kB / 0.5671 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.448, allocations: 4 kB / 0.5671 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.4481, allocations: 23.92 kB / 0.5672 GB, free: 6.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.4482, allocations: 35.84 kB / 0.5672 GB, free: 6.516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.4482, allocations: 4 kB / 0.5672 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.4494, allocations: 0.6979 MB / 0.5679 GB, free: 5.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.4494, allocations: 7.984 kB / 0.5679 GB, free: 5.805 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.4495, allocations: 23.88 kB / 0.5679 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.4503, allocations: 499.4 kB / 0.5684 GB, free: 5.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4503, allocations: 0 / 0.5684 GB, free: 5.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4503, allocations: 0 / 0.5684 GB, free: 5.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4503, allocations: 0 / 0.5684 GB, free: 5.297 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.0006399/0.4509, allocations: 442.5 kB / 0.5688 GB, free: 4.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.451, allocations: 12.03 kB / 0.5688 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.451, allocations: 34.75 kB / 0.5689 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.4523, allocations: 107.1 kB / 0.569 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.4526, allocations: 223.8 kB / 0.5692 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4526, allocations: 4 kB / 0.5692 GB, free: 4.398 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.4526, allocations: 4 kB / 0.5692 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4529, allocations: 95.27 kB / 0.5693 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4529, allocations: 0 / 0.5693 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4529, allocations: 4 kB / 0.5693 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4529, allocations: 0 / 0.5693 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.4531, allocations: 44.45 kB / 0.5693 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.4533, allocations: 206.9 kB / 0.5695 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.4538, allocations: 121.1 kB / 0.5696 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4539, allocations: 37.69 kB / 0.5697 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/0.4546, allocations: 0.9862 MB / 0.5706 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4547, allocations: 34.56 kB / 0.5707 GB, free: 2.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4547, allocations: 0 / 0.5707 GB, free: 2.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004819/0.4552, allocations: 133.5 kB / 0.5708 GB, free: 2.422 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4552, allocations: 77.11 kB / 0.5709 GB, free: 2.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4554, allocations: 165.7 kB / 0.571 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4555, allocations: 29.7 kB / 0.571 GB, free: 2.121 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.4555, allocations: 84.14 kB / 0.5711 GB, free: 2.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.4555, allocations: 23.78 kB / 0.5711 GB, free: 2.012 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.4556, allocations: 33.69 kB / 0.5712 GB, free: 1.973 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4557, allocations: 326.8 kB / 0.5715 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.4558, allocations: 20.55 kB / 0.5715 GB, free: 1.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.456, allocations: 60.03 kB / 0.5716 GB, free: 1.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.4562, allocations: 85.58 kB / 0.5717 GB, free: 1.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4562, allocations: 0 / 0.5717 GB, free: 1.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000333/0.4565, allocations: 122.6 kB / 0.5718 GB, free: 1.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4565, allocations: 12.06 kB / 0.5718 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4565, allocations: 0 / 0.5718 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4566, allocations: 0 / 0.5718 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.4567, allocations: 31.91 kB / 0.5718 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4567, allocations: 8.766 kB / 0.5718 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.4569, allocations: 4 kB / 0.5718 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.4569, allocations: 7.984 kB / 0.5718 GB, free: 1.273 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.029e-05/0.457, allocations: 113.8 kB / 0.5719 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.457, allocations: 11.95 kB / 0.572 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/0.4576, allocations: 233.4 kB / 0.5722 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4577, allocations: 0 / 0.5722 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4577, allocations: 7.984 kB / 0.5722 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4577, allocations: 0 / 0.5722 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4579, allocations: 226.8 kB / 0.5724 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4579, allocations: 0 / 0.5724 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4581, allocations: 21.47 kB / 0.5724 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4581, allocations: 0 / 0.5724 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4581, allocations: 11.92 kB / 0.5724 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4581, allocations: 0 / 0.5724 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4581, allocations: 0 / 0.5724 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.4585, allocations: 177.8 kB / 0.5726 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.4586, allocations: 93.08 kB / 0.5727 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.4586, allocations: 4 kB / 0.5727 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.4588, allocations: 11.92 kB / 0.5727 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4588, allocations: 4 kB / 0.5727 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4588, allocations: 8.859 kB / 0.5727 GB, free: 276 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.459, allocations: 133.5 kB / 0.5728 GB, free: 144 kB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.459, allocations: 64 / 0.5728 GB, free: 144 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000498/0.4595, allocations: 135.6 kB / 0.573 GB, free: 8 kB / 478.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.00134/0.4608, allocations: 0.9272 MB / 0.5739 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.4611, allocations: 75.81 kB / 0.5739 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4611, allocations: 0 / 0.5739 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.4613, allocations: 43.91 kB / 0.574 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4615, allocations: 14.69 kB / 0.574 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.4641, allocations: 1.793 MB / 0.5758 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4644, allocations: 0.6885 MB / 0.5764 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.4649, allocations: 435 kB / 0.5768 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.4651, allocations: 51.38 kB / 0.5769 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4651, allocations: 0 / 0.5769 GB, free: 11.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.4991, allocations: 6.675 MB / 0.5834 GB, free: 5.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.434, allocations: 9.922 kB / 0.5834 GB, free: 5.281 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.807314542122185]