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.0009281/0.0009281, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0008612/0.0008612, allocations: 168 kB / 25.7 MB, free: 8.445 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 0.8718/0.8718, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.432e-06/1.432e-06, allocations: 0 / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.676e-05, allocations: 2.312 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002085/0.002102, allocations: 1.701 MB / 253.2 MB, free: 5.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007055/0.002807, allocations: 0.519 MB / 253.7 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.002882, allocations: 3.938 kB / 253.7 MB, free: 5.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.002985, allocations: 11.86 kB / 253.7 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.003147, allocations: 31.72 kB / 253.8 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.003328, allocations: 51.88 kB / 253.8 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.003462, allocations: 103.7 kB / 253.9 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.00355, allocations: 21.95 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.003643, allocations: 59.81 kB / 254 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.003699, allocations: 27.91 kB / 254 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.00372, allocations: 8 kB / 254 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.003732, allocations: 8 kB / 254 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.003779, allocations: 23.91 kB / 254.1 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.00381, allocations: 23.92 kB / 254.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.00391, allocations: 67.61 kB / 254.2 MB, free: 4.625 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.003912, allocations: 4 kB / 254.2 MB, free: 4.621 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003913, allocations: 3.984 kB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003917, allocations: 0 / 254.2 MB, free: 4.617 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.0003313/0.004248, allocations: 300.5 kB / 254.5 MB, free: 4.301 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.004286, allocations: 15.98 kB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.004318, allocations: 20.92 kB / 254.5 MB, free: 4.266 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.004449, allocations: 142.1 kB / 254.6 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.004458, allocations: 8.375 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.004479, allocations: 8.375 kB / 254.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.809e-05/0.004577, allocations: 78.86 kB / 254.7 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.004583, allocations: 3.938 kB / 254.7 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.00459, allocations: 0 / 254.7 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004595, allocations: 4 kB / 254.7 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.004619, allocations: 19.3 kB / 254.8 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.004881, allocations: 210.9 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.004952, allocations: 50.42 kB / 255 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.004971, allocations: 16.86 kB / 255 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.004983, allocations: 4 kB / 255 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005002, allocations: 30.56 kB / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.005003, allocations: 0 / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001245/0.005128, allocations: 53.69 kB / 255.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.005163, allocations: 63.33 kB / 255.2 MB, free: 3.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.005251, allocations: 142.6 kB / 255.3 MB, free: 3.348 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.005263, allocations: 25.7 kB / 255.3 MB, free: 3.316 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.005302, allocations: 104 kB / 255.4 MB, free: 3.211 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.005324, allocations: 19.94 kB / 255.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.005353, allocations: 21.7 kB / 255.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.005434, allocations: 330.8 kB / 255.8 MB, free: 2.832 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.005446, allocations: 4 kB / 255.8 MB, free: 2.828 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.005457, allocations: 4 kB / 255.8 MB, free: 2.824 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.005493, allocations: 24.84 kB / 255.8 MB, free: 2.797 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005495, allocations: 0 / 255.8 MB, free: 2.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.547e-05/0.00555, allocations: 53.62 kB / 255.9 MB, free: 2.738 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.00556, allocations: 7.984 kB / 255.9 MB, free: 2.73 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.005563, allocations: 0 / 255.9 MB, free: 2.73 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.005572, allocations: 0 / 255.9 MB, free: 2.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.005688, allocations: 39.97 kB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005691, allocations: 4 kB / 255.9 MB, free: 2.688 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.005712, allocations: 7.938 kB / 255.9 MB, free: 2.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005717, allocations: 0 / 255.9 MB, free: 2.68 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 5.057e-05/0.005768, allocations: 116.7 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.005782, allocations: 8 kB / 256.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005804, allocations: 12.45 kB / 256.1 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005807, allocations: 4 kB / 256.1 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005808, allocations: 0 / 256.1 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005811, allocations: 3.938 kB / 256.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.779e-05/0.005899, allocations: 85.83 kB / 256.2 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.0059, allocations: 4.25 kB / 256.2 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.005957, allocations: 23.97 kB / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00596, allocations: 7.938 kB / 256.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.00597, allocations: 4 kB / 256.2 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.00597, allocations: 3.938 kB / 256.2 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005971, allocations: 0 / 256.2 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.006078, allocations: 167.4 kB / 256.4 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.006089, allocations: 11.89 kB / 256.4 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006099, allocations: 0 / 256.4 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.006134, allocations: 3.984 kB / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.006159, allocations: 8.031 kB / 256.4 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.006161, allocations: 0 / 256.4 MB, free: 2.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.006187, allocations: 36.77 kB / 256.4 MB, free: 2.141 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006187, allocations: 0 / 256.4 MB, free: 2.141 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.006301, allocations: 12 kB / 256.4 MB, free: 2.129 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 5.993e-05/0.006361, allocations: 76.36 kB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.006422, allocations: 32.83 kB / 256.6 MB, free: 2.008 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006424, allocations: 0 / 256.6 MB, free: 2.008 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.006441, allocations: 12.86 kB / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.006591, allocations: 31.84 kB / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.007063, allocations: 254.6 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.0071, allocations: 67.33 kB / 256.9 MB, free: 1.602 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.007133, allocations: 4 kB / 256.9 MB, free: 1.598 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.007193, allocations: 63.36 kB / 257 MB, free: 1.531 MB / 234.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007194, allocations: 4 kB / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of Templates: time 0.002385/0.009579, allocations: 0.9957 MB / 258 MB, free: 0.543 MB / 234.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.5576190780848265]