Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001882/0.001882, allocations: 88.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002305/0.002305, allocations: 168.5 kB / 25.02 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.329e-05/4.628e-05, allocations: 2.312 kB / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003422/0.003469, allocations: 1.664 MB / 252 MB, free: 2.281 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004582, allocations: 0.5003 MB / 252.5 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.004675, allocations: 3.938 kB / 252.5 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.004801, allocations: 11.86 kB / 252.5 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.00501, allocations: 19.86 kB / 252.5 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.005248, allocations: 59.78 kB / 252.6 MB, free: 1.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005451, allocations: 99.64 kB / 252.7 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.005578, allocations: 25.28 kB / 252.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.005705, allocations: 55.83 kB / 252.8 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.005798, allocations: 35.89 kB / 252.8 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.005825, allocations: 8 kB / 252.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.005842, allocations: 4 kB / 252.8 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.005906, allocations: 15.92 kB / 252.8 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.005968, allocations: 31.91 kB / 252.9 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.006136, allocations: 91.56 kB / 253 MB, free: 1.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006139, allocations: 0 / 253 MB, free: 1.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006139, allocations: 0 / 253 MB, free: 1.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006144, allocations: 0 / 253 MB, free: 1.32 MB / 234.7 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.0006507/0.006795, allocations: 333.9 kB / 253.3 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.006837, allocations: 15.98 kB / 253.3 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.0069, allocations: 20.84 kB / 253.3 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.007175, allocations: 146.1 kB / 253.5 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007192, allocations: 8.375 kB / 253.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.007225, allocations: 4.375 kB / 253.5 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.007436, allocations: 74.23 kB / 253.5 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.00745, allocations: 7.922 kB / 253.6 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.007465, allocations: 4 kB / 253.6 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.007472, allocations: 8 kB / 253.6 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.007598, allocations: 35.92 kB / 253.6 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.00814, allocations: 284.3 kB / 253.9 MB, free: 316 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.008312, allocations: 62.53 kB / 253.9 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.008393, allocations: 24.89 kB / 254 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.008411, allocations: 0 / 254 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.00845, allocations: 38.56 kB / 254 MB, free: 168 kB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 7.12e-07/0.008451, allocations: 4 kB / 254 MB, free: 164 kB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003301/0.008781, allocations: 101.5 kB / 254.1 MB, free: 56 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.008939, allocations: 55.41 kB / 254.2 MB, free: 15.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.009099, allocations: 153.7 kB / 254.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.009122, allocations: 25.7 kB / 254.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.009205, allocations: 108.2 kB / 254.4 MB, free: 15.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.009241, allocations: 31.72 kB / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.009286, allocations: 17.72 kB / 254.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.00947, allocations: 326.8 kB / 254.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.009541, allocations: 19.98 kB / 254.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.009594, allocations: 16 kB / 254.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.009723, allocations: 53.08 kB / 254.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.009725, allocations: 0 / 254.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001957/0.009921, allocations: 97.56 kB / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009934, allocations: 4 kB / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.009939, allocations: 0 / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.009955, allocations: 0 / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.0102, allocations: 47.91 kB / 255 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.0102, allocations: 0 / 255 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.01027, allocations: 3.984 kB / 255 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01028, allocations: 8 kB / 255 MB, free: 15.05 MB / 250.7 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 0.0001062/0.01038, allocations: 113.8 kB / 255.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.01042, allocations: 7.953 kB / 255.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.01045, allocations: 12.47 kB / 255.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01045, allocations: 0 / 255.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.01046, allocations: 7.922 kB / 255.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01047, allocations: 0 / 255.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.01066, allocations: 133.3 kB / 255.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01066, allocations: 4 kB / 255.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.01082, allocations: 23.92 kB / 255.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01082, allocations: 0 / 255.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.01084, allocations: 7.984 kB / 255.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01084, allocations: 0 / 255.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01084, allocations: 0 / 255.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.01119, allocations: 207.4 kB / 255.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01121, allocations: 7.984 kB / 255.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01123, allocations: 7.984 kB / 255.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.01132, allocations: 4.062 kB / 255.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.01137, allocations: 7.938 kB / 255.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.01137, allocations: 3.984 kB / 255.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.01147, allocations: 107.3 kB / 255.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01147, allocations: 0 / 255.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01172, allocations: 23.88 kB / 255.7 MB, free: 14.33 MB / 250.7 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 0.0001182/0.01184, allocations: 91.19 kB / 255.8 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.01201, allocations: 47.97 kB / 255.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01202, allocations: 4 kB / 255.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.01209, allocations: 27.98 kB / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.01244, allocations: 24.06 kB / 255.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.01311, allocations: 259.9 kB / 256.2 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01321, allocations: 88.31 kB / 256.2 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.01326, allocations: 4 kB / 256.2 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.01331, allocations: 16.48 kB / 256.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01331, allocations: 0 / 256.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of Templates: time 0.004527/0.01783, allocations: 0.9584 MB / 257.2 MB, free: 12.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.387971609947272]