Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.001853/0.001853, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002241/0.002241, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.86 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2308, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002828/0.2337, allocations: 1.673 MB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2347, allocations: 0.5181 MB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.2347, allocations: 3.938 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.2348, allocations: 15.86 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.235, allocations: 27.78 kB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.2352, allocations: 63.86 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.2354, allocations: 95.7 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2355, allocations: 25.09 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2357, allocations: 55.77 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.2358, allocations: 39.78 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2358, allocations: 8 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.2358, allocations: 12 kB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.2359, allocations: 23.92 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.2359, allocations: 39.72 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.2361, allocations: 90.39 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2361, allocations: 0 / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2361, allocations: 0 / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2361, allocations: 0 / 435 MB, free: 4.047 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.0005846/0.2367, allocations: 333.9 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2367, allocations: 8.031 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.2369, allocations: 28.83 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.2371, allocations: 153.1 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2371, allocations: 8.312 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.2372, allocations: 12.12 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2374, allocations: 81.59 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2374, allocations: 0 / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2374, allocations: 0 / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2374, allocations: 4 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2375, allocations: 39.97 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.238, allocations: 288.3 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.2382, allocations: 62.53 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.2383, allocations: 28.89 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2383, allocations: 0 / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2383, allocations: 30.56 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2383, allocations: 0 / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003/0.2386, allocations: 101.6 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2386, allocations: 63.27 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2388, allocations: 141.4 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2388, allocations: 25.7 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.2389, allocations: 116.2 kB / 436.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.2389, allocations: 19.78 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.2389, allocations: 25.72 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2391, allocations: 318.8 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.2391, allocations: 27.92 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.2392, allocations: 16 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2393, allocations: 52.84 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2393, allocations: 0 / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001817/0.2395, allocations: 89.61 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2395, allocations: 8 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2395, allocations: 7.875 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2395, allocations: 0 / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2398, allocations: 35.97 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2398, allocations: 0 / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.2398, allocations: 7.953 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2399, allocations: 7.984 kB / 437.1 MB, free: 1.773 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 8.985e-05/0.2399, allocations: 113.8 kB / 437.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.24, allocations: 11.95 kB / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.24, allocations: 16.59 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.24, allocations: 3.938 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.24, allocations: 4 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.24, allocations: 11.94 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2401, allocations: 0 / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.2402, allocations: 4 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2402, allocations: 7.969 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004175/0.2406, allocations: 184.9 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003289/0.2409, allocations: 278.7 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.477e-05/0.241, allocations: 24.02 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.2411, allocations: 107.2 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.2411, allocations: 0 / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.2415, allocations: 114.3 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007163/0.2422, allocations: 0.6918 MB / 438.7 MB, free: 136 kB / 334.1 MB Notification: Performance of Templates: time 0.004168/0.2464, allocations: 1.271 MB / 439.9 MB, free: 14.88 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.349839169997722]