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.0008974/0.0008974, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0008595/0.0008595, allocations: 164.7 kB / 25.7 MB, free: 8.398 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.9758/0.9758, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.714e-06/1.714e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.594e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003569/0.003595, allocations: 1.756 MB / 253.3 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004711, allocations: 0.5151 MB / 253.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.004809, allocations: 3.938 kB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.004922, allocations: 7.875 kB / 253.8 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.005139, allocations: 35.72 kB / 253.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.005386, allocations: 51.86 kB / 253.9 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.00559, allocations: 107.6 kB / 254 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.00572, allocations: 21.95 kB / 254 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.005887, allocations: 55.88 kB / 254.1 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.005977, allocations: 27.91 kB / 254.1 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.006002, allocations: 8 kB / 254.1 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.006019, allocations: 4 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.006081, allocations: 27.84 kB / 254.2 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.006123, allocations: 31.92 kB / 254.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.006267, allocations: 63.67 kB / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006271, allocations: 0 / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006272, allocations: 0 / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.006277, allocations: 0 / 254.3 MB, free: 4.516 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.0004663/0.006743, allocations: 304.5 kB / 254.5 MB, free: 4.195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.006782, allocations: 11.98 kB / 254.6 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.006825, allocations: 16.92 kB / 254.6 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.007021, allocations: 154 kB / 254.7 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.007035, allocations: 4.375 kB / 254.7 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.007063, allocations: 8.375 kB / 254.7 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.007208, allocations: 78.86 kB / 254.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.007218, allocations: 3.938 kB / 254.8 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.007227, allocations: 0 / 254.8 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.007233, allocations: 0 / 254.8 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.007272, allocations: 15.98 kB / 254.8 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.007676, allocations: 214.8 kB / 255 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007777, allocations: 50.48 kB / 255.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.007806, allocations: 16.84 kB / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.00782, allocations: 0 / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.007846, allocations: 34.56 kB / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.007847, allocations: 0 / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000156/0.008003, allocations: 53.69 kB / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.008037, allocations: 51.41 kB / 255.2 MB, free: 3.406 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.008152, allocations: 146.6 kB / 255.4 MB, free: 3.25 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.008166, allocations: 25.7 kB / 255.4 MB, free: 3.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.008219, allocations: 108 kB / 255.5 MB, free: 3.109 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.008246, allocations: 23.94 kB / 255.5 MB, free: 3.086 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.008292, allocations: 25.64 kB / 255.6 MB, free: 3.055 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.008387, allocations: 322.8 kB / 255.9 MB, free: 2.73 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.008408, allocations: 7.984 kB / 255.9 MB, free: 2.723 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.008425, allocations: 4 kB / 255.9 MB, free: 2.719 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.008475, allocations: 20.84 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008477, allocations: 0 / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.826e-05/0.008565, allocations: 49.69 kB / 256 MB, free: 2.641 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.008581, allocations: 8 kB / 256 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.008585, allocations: 0 / 256 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.008599, allocations: 4 kB / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.0089, allocations: 67.61 kB / 256 MB, free: 2.566 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.008904, allocations: 0 / 256 MB, free: 2.566 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.008946, allocations: 7.984 kB / 256.1 MB, free: 2.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.008954, allocations: 256 / 256.1 MB, free: 2.559 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.162e-05/0.009026, allocations: 116.7 kB / 256.2 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.009051, allocations: 7.938 kB / 256.2 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.009081, allocations: 12.45 kB / 256.2 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.009087, allocations: 12 kB / 256.2 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.00909, allocations: 3.938 kB / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009092, allocations: 0 / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.009239, allocations: 89.81 kB / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009241, allocations: 0 / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.009411, allocations: 27.97 kB / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.009414, allocations: 0 / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.009431, allocations: 7.984 kB / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009432, allocations: 0 / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009434, allocations: 0 / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.009609, allocations: 167.4 kB / 256.5 MB, free: 2.078 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.009628, allocations: 15.88 kB / 256.5 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.009644, allocations: 0 / 256.5 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.009714, allocations: 0 / 256.5 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.009748, allocations: 7.984 kB / 256.5 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009755, allocations: 3.938 kB / 256.5 MB, free: 2.051 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.009795, allocations: 28.84 kB / 256.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009795, allocations: 0 / 256.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000211/0.01001, allocations: 12 kB / 256.6 MB, free: 2.008 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 0.0001115/0.01012, allocations: 80.44 kB / 256.6 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.01022, allocations: 37 kB / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01022, allocations: 0 / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.01025, allocations: 16.84 kB / 256.7 MB, free: 1.859 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01049, allocations: 30.72 kB / 256.7 MB, free: 1.832 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.01124, allocations: 262.6 kB / 257 MB, free: 1.551 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01129, allocations: 67.34 kB / 257 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.01135, allocations: 16.89 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.01143, allocations: 63.38 kB / 257.1 MB, free: 1.387 MB / 234.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01143, allocations: 0 / 257.1 MB, free: 1.387 MB / 234.7 MB Notification: Performance of Templates: time 0.003797/0.01523, allocations: 1.138 MB / 258.3 MB, free: 264 kB / 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 -s gbode -gbm=radauIIA3 -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.7096426649950445]