Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 157.2 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.14 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09373, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.0028/0.09653, allocations: 1.663 MB / 373.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.09736, allocations: 458.9 kB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.09744, allocations: 4 kB / 373.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.667e-05/0.09753, allocations: 11.86 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.0977, allocations: 31.78 kB / 373.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.09787, allocations: 43.88 kB / 373.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.09804, allocations: 99.69 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.09815, allocations: 25.23 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.09824, allocations: 51.78 kB / 373.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.09833, allocations: 39.72 kB / 374 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.09835, allocations: 8 kB / 374 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.09837, allocations: 8 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.09842, allocations: 23.91 kB / 374 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.09847, allocations: 31.8 kB / 374 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.0986, allocations: 83.58 kB / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.0986, allocations: 4 kB / 374.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0986, allocations: 0 / 374.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09861, allocations: 0 / 374.1 MB, free: 4.758 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005443/0.09915, allocations: 337.8 kB / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.09918, allocations: 8.922 kB / 374.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.09922, allocations: 16.89 kB / 374.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.09945, allocations: 146.6 kB / 374.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.09946, allocations: 7.938 kB / 374.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.09949, allocations: 11.94 kB / 374.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.09967, allocations: 77.66 kB / 374.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.09967, allocations: 4 kB / 374.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.09968, allocations: 4 kB / 374.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.09969, allocations: 0 / 374.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.09982, allocations: 43.97 kB / 374.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.1003, allocations: 288.2 kB / 375 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1005, allocations: 54.59 kB / 375.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.1005, allocations: 32.83 kB / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1005, allocations: 0 / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1006, allocations: 42.56 kB / 375.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1006, allocations: 0 / 375.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003059/0.1009, allocations: 101.5 kB / 375.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1009, allocations: 55.41 kB / 375.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1011, allocations: 141.8 kB / 375.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1011, allocations: 29.7 kB / 375.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1012, allocations: 108 kB / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1012, allocations: 15.98 kB / 375.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1012, allocations: 25.7 kB / 375.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1014, allocations: 318.8 kB / 376 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.1014, allocations: 27.94 kB / 376 MB, free: 2.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1015, allocations: 19.98 kB / 376 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1016, allocations: 52.98 kB / 376.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1016, allocations: 0 / 376.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.1018, allocations: 89.55 kB / 376.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1018, allocations: 8 kB / 376.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1018, allocations: 0 / 376.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1018, allocations: 0 / 376.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1021, allocations: 47.91 kB / 376.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1021, allocations: 0 / 376.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.1021, allocations: 7.953 kB / 376.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1021, allocations: 0 / 376.2 MB, free: 2.504 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.247e-05/0.1022, allocations: 117.8 kB / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1023, allocations: 11.89 kB / 376.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.1023, allocations: 12.47 kB / 376.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1023, allocations: 0 / 376.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1023, allocations: 3.938 kB / 376.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1023, allocations: 4 kB / 376.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1025, allocations: 137.3 kB / 376.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1025, allocations: 0 / 376.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1026, allocations: 31.91 kB / 376.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1026, allocations: 0 / 376.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1026, allocations: 0 / 376.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1026, allocations: 4 kB / 376.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1026, allocations: 0 / 376.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1029, allocations: 199.7 kB / 376.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.1029, allocations: 23.81 kB / 376.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.103, allocations: 8.125 kB / 376.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.103, allocations: 0 / 376.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1031, allocations: 7.984 kB / 376.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1031, allocations: 0 / 376.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.1032, allocations: 114.4 kB / 376.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1032, allocations: 4 kB / 376.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1034, allocations: 12 kB / 376.9 MB, free: 1.773 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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 8.134e-05/0.1035, allocations: 91.19 kB / 377 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1036, allocations: 51.91 kB / 377 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1036, allocations: 4 kB / 377 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.1037, allocations: 23.98 kB / 377 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.104, allocations: 27.92 kB / 377.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.1046, allocations: 261.4 kB / 377.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.515e-05/0.1047, allocations: 88.31 kB / 377.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.195e-05/0.1047, allocations: 7.984 kB / 377.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1048, allocations: 16.44 kB / 377.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1048, allocations: 0 / 377.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003426/0.1082, allocations: 0.9499 MB / 378.4 MB, free: 228 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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: 4.26033467403613]