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.002235/0.002235, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002578/0.002578, allocations: 210 kB / 24.48 MB, free: 3.941 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.595/1.595, allocations: 230.6 MB / 258.2 MB, free: 7.785 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3235, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002591/0.3261, allocations: 1.351 MB / 433.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.5466/0.8726, allocations: 130.6 MB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.8727, allocations: 0 / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.8727, allocations: 7.234 kB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009544/0.8737, allocations: 244.8 kB / 0.5513 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009988/0.8747, allocations: 408.1 kB / 0.5517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.8748, allocations: 54.86 kB / 0.5517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.8748, allocations: 6.344 kB / 0.5518 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.8749, allocations: 26.09 kB / 0.5518 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.875, allocations: 27.84 kB / 0.5518 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.875, allocations: 1.375 kB / 0.5518 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.8759, allocations: 0.5887 MB / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.8759, allocations: 6.359 kB / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.8759, allocations: 22.73 kB / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.8765, allocations: 483.5 kB / 0.5529 GB, free: 1.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8765, allocations: 1.375 kB / 0.5529 GB, free: 1.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8765, allocations: 0.9688 kB / 0.5529 GB, free: 1.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.8765, allocations: 0 / 0.5529 GB, free: 1.203 MB / 446.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.0006543/0.8772, allocations: 360.6 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.8772, allocations: 9.156 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.8787, allocations: 106.1 kB / 0.5533 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.879, allocations: 164.2 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.879, allocations: 1.094 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.879, allocations: 6.344 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.8792, allocations: 94.84 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8792, allocations: 0 / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.8793, allocations: 0.8438 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8793, allocations: 5.375 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.8794, allocations: 41.2 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.8797, allocations: 151.5 kB / 0.5538 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.8801, allocations: 122.7 kB / 0.5539 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.8802, allocations: 37.97 kB / 0.5539 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.8805, allocations: 99.78 kB / 0.554 GB, free: 16.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.8805, allocations: 40.84 kB / 0.5541 GB, free: 16.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.8805, allocations: 0 / 0.5541 GB, free: 16.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004832/0.881, allocations: 129.3 kB / 0.5542 GB, free: 16.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.8811, allocations: 80.86 kB / 0.5543 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.8813, allocations: 153.6 kB / 0.5544 GB, free: 16.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.8813, allocations: 29.23 kB / 0.5544 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.8814, allocations: 84.48 kB / 0.5545 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.8814, allocations: 18.77 kB / 0.5545 GB, free: 16.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.8815, allocations: 34.17 kB / 0.5546 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8816, allocations: 321.5 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.8817, allocations: 29.48 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.8818, allocations: 57 kB / 0.555 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.882, allocations: 79.33 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8821, allocations: 12.06 kB / 0.555 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003483/0.8824, allocations: 122 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8824, allocations: 5.438 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8824, allocations: 3.469 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.8824, allocations: 0 / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.8826, allocations: 29.28 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8826, allocations: 1 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.8828, allocations: 12.3 kB / 0.5552 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.8828, allocations: 11.66 kB / 0.5552 GB, free: 15.67 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 9.962e-05/0.8829, allocations: 116.5 kB / 0.5553 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.883, allocations: 6.672 kB / 0.5553 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005727/0.8836, allocations: 250.7 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8836, allocations: 5.719 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8836, allocations: 3.844 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8836, allocations: 0.9688 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.8837, allocations: 163.3 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8837, allocations: 0.9062 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.8839, allocations: 19.52 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8839, allocations: 1.844 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.8839, allocations: 9.312 kB / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8839, allocations: 0.9688 kB / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8839, allocations: 0 / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.8844, allocations: 180.5 kB / 0.5559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.8844, allocations: 22.09 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.8844, allocations: 0.9375 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.8846, allocations: 3.344 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.8847, allocations: 14.47 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8847, allocations: 6.609 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.8849, allocations: 135.9 kB / 0.5561 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8849, allocations: 3.188 kB / 0.5561 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.8853, allocations: 128.8 kB / 0.5562 GB, free: 15.19 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 (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.0005615/0.8859, allocations: 308.9 kB / 0.5565 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.8862, allocations: 74.89 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8862, allocations: 1.062 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.8863, allocations: 37.97 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.8865, allocations: 22.03 kB / 0.5567 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.887, allocations: 306.2 kB / 0.557 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.8871, allocations: 70.78 kB / 0.557 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.8875, allocations: 437.9 kB / 0.5574 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.8876, allocations: 37.03 kB / 0.5575 GB, free: 14.77 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.8876, allocations: 0 / 0.5575 GB, free: 14.77 MB / 462.1 MB Notification: Performance of Templates: time 0.008481/0.8961, allocations: 5.527 MB / 0.5629 GB, free: 14.09 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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: 5.56158479199803]