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.001209/0.001209, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001318/0.001318, allocations: 166.5 kB / 25.6 MB, free: 8.914 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.064/1.064, allocations: 158.6 MB / 187.5 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.162e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002506/0.002528, allocations: 1.694 MB / 253.1 MB, free: 5.551 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.003277, allocations: 0.5152 MB / 253.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.003358, allocations: 0 / 253.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.003465, allocations: 11.86 kB / 253.7 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.003642, allocations: 27.73 kB / 253.7 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.003823, allocations: 47.92 kB / 253.7 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.003959, allocations: 111.6 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004062, allocations: 25.23 kB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004163, allocations: 59.81 kB / 253.9 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.004235, allocations: 27.91 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.004256, allocations: 8 kB / 254 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.004269, allocations: 4 kB / 254 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.004327, allocations: 27.84 kB / 254 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.004368, allocations: 23.92 kB / 254 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.004495, allocations: 59.8 kB / 254.1 MB, free: 4.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004496, allocations: 0 / 254.1 MB, free: 4.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004498, allocations: 4 kB / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004503, allocations: 0 / 254.1 MB, free: 4.598 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.0005102/0.005013, allocations: 436.1 kB / 254.5 MB, free: 4.137 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.005067, allocations: 15.98 kB / 254.5 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.005108, allocations: 20.84 kB / 254.6 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005279, allocations: 152.9 kB / 254.7 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005291, allocations: 4.375 kB / 254.7 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.005318, allocations: 8.375 kB / 254.7 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.005451, allocations: 86.52 kB / 254.8 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.005461, allocations: 3.938 kB / 254.8 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.005471, allocations: 4 kB / 254.8 MB, free: 3.816 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005477, allocations: 0 / 254.8 MB, free: 3.816 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.005506, allocations: 15.98 kB / 254.8 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.005876, allocations: 312.1 kB / 255.1 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.005967, allocations: 47.12 kB / 255.2 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.00599, allocations: 19.67 kB / 255.2 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.006009, allocations: 4 kB / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.006035, allocations: 37.39 kB / 255.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.006036, allocations: 0 / 255.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001654/0.006202, allocations: 73.55 kB / 255.3 MB, free: 3.258 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.006233, allocations: 55.41 kB / 255.4 MB, free: 3.191 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.006692, allocations: 197.8 kB / 255.6 MB, free: 2.98 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.006704, allocations: 25.7 kB / 255.6 MB, free: 2.949 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.006766, allocations: 150.9 kB / 255.7 MB, free: 2.797 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.006793, allocations: 27.78 kB / 255.8 MB, free: 2.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.006829, allocations: 27.36 kB / 255.8 MB, free: 2.734 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.006959, allocations: 0.4962 MB / 256.3 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.006974, allocations: 4 kB / 256.3 MB, free: 2.223 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.006989, allocations: 7.984 kB / 256.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.007035, allocations: 31.61 kB / 256.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007037, allocations: 0 / 256.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.683e-05/0.007124, allocations: 61.64 kB / 256.4 MB, free: 2.113 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.007141, allocations: 8 kB / 256.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.007147, allocations: 0 / 256.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.00716, allocations: 0 / 256.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.007298, allocations: 35.97 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007302, allocations: 7.938 kB / 256.4 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.007325, allocations: 4 kB / 256.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.007331, allocations: 0 / 256.4 MB, free: 2.059 MB / 234.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 7.365e-05/0.007405, allocations: 160.5 kB / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.007422, allocations: 19.84 kB / 256.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.007453, allocations: 12.45 kB / 256.6 MB, free: 1.855 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.007461, allocations: 4 kB / 256.6 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007463, allocations: 0 / 256.6 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.007468, allocations: 4.188 kB / 256.6 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.00758, allocations: 121.2 kB / 256.7 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.007583, allocations: 8 kB / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.007662, allocations: 23.97 kB / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.007664, allocations: 0 / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.00768, allocations: 4 kB / 256.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00768, allocations: 0 / 256.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007681, allocations: 0 / 256.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.007879, allocations: 223.8 kB / 257 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.007894, allocations: 7.953 kB / 257 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007906, allocations: 0 / 257 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.007948, allocations: 8 kB / 257 MB, free: 1.414 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.007982, allocations: 3.984 kB / 257 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.00799, allocations: 4.031 kB / 257 MB, free: 1.406 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.008052, allocations: 147.1 kB / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008052, allocations: 0 / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.008197, allocations: 19.95 kB / 257.2 MB, free: 1.242 MB / 234.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 9.447e-05/0.008291, allocations: 95.23 kB / 257.3 MB, free: 1.137 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.008382, allocations: 27.67 kB / 257.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008384, allocations: 0 / 257.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.008411, allocations: 23.62 kB / 257.3 MB, free: 1.078 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.008655, allocations: 28.11 kB / 257.4 MB, free: 1.055 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.009293, allocations: 257.5 kB / 257.6 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.009343, allocations: 67.28 kB / 257.7 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.009381, allocations: 8.047 kB / 257.7 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.009466, allocations: 78.19 kB / 257.8 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of SimCode: time 1.293e-06/0.009468, allocations: 4 kB / 257.8 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of Templates: time 0.002897/0.01236, allocations: 1.025 MB / 258.8 MB, free: 15.59 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9552331129089]