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.0009366/0.0009366, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003162/0.004099, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009384/0.0009384, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002218, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.7954/0.7954, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1137/0.9091, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.122e-06/1.122e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.16e-05, allocations: 5.406 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00217/0.002181, allocations: 1.733 MB / 223.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.005903, allocations: 0.5345 MB / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.005962, allocations: 4 kB / 224.3 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.006011, allocations: 7.875 kB / 224.3 MB, free: 13.76 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.246e-05/0.006104, allocations: 23.8 kB / 224.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.006236, allocations: 55.8 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.006352, allocations: 107.6 kB / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.49e-05/0.006427, allocations: 17.95 kB / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.006541, allocations: 75.72 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.0066, allocations: 31.89 kB / 224.6 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.00662, allocations: 4 kB / 224.6 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.006633, allocations: 8 kB / 224.6 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.006676, allocations: 11.94 kB / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.006702, allocations: 27.94 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.006796, allocations: 63.64 kB / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.006805, allocations: 0 / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006805, allocations: 0 / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.006813, allocations: 0 / 224.7 MB, free: 13.34 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.0003613/0.007175, allocations: 328.1 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.449e-05/0.007199, allocations: 8.031 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.007229, allocations: 12.92 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.007364, allocations: 150.1 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.007373, allocations: 4.375 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.007395, allocations: 8.375 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.007498, allocations: 78.86 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.007505, allocations: 7.922 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.007515, allocations: 4 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007519, allocations: 3.938 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.007542, allocations: 12 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.007791, allocations: 218.8 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.007858, allocations: 42.55 kB / 225.5 MB, free: 12.4 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.007876, allocations: 16.8 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.007888, allocations: 3.984 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.007906, allocations: 38.56 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.007907, allocations: 0 / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000108/0.008015, allocations: 49.69 kB / 225.6 MB, free: 12.27 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.008038, allocations: 51.41 kB / 225.7 MB, free: 12.21 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.008099, allocations: 146.6 kB / 225.8 MB, free: 12.05 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.008107, allocations: 25.7 kB / 225.9 MB, free: 12.02 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.008143, allocations: 108 kB / 226 MB, free: 11.91 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.008163, allocations: 27.92 kB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.008186, allocations: 13.72 kB / 226 MB, free: 11.87 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.00826, allocations: 326.8 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.00827, allocations: 4 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.008282, allocations: 11.97 kB / 226.3 MB, free: 11.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.008313, allocations: 25 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008315, allocations: 0 / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.592e-05/0.008381, allocations: 53.67 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.008391, allocations: 8 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.008395, allocations: 0 / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.008404, allocations: 4 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.008608, allocations: 59.81 kB / 226.5 MB, free: 11.37 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.008613, allocations: 4 kB / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.008634, allocations: 0 / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.008642, allocations: 7.984 kB / 226.5 MB, free: 11.36 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 4.74e-05/0.008689, allocations: 112.7 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.008735, allocations: 4 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.008757, allocations: 16.45 kB / 226.6 MB, free: 11.22 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008759, allocations: 4 kB / 226.6 MB, free: 11.21 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.008762, allocations: 3.938 kB / 226.6 MB, free: 11.21 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008765, allocations: 0 / 226.6 MB, free: 11.21 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.008852, allocations: 93.81 kB / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008853, allocations: 0 / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.008935, allocations: 31.91 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.008946, allocations: 15.88 kB / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.008947, allocations: 0 / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008956, allocations: 0 / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.008956, allocations: 256 / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.008958, allocations: 11.94 kB / 226.8 MB, free: 11.04 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.009069, allocations: 159.5 kB / 226.9 MB, free: 10.87 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.009079, allocations: 0 / 226.9 MB, free: 10.87 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.009116, allocations: 8 kB / 227 MB, free: 10.86 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.009137, allocations: 7.969 kB / 227 MB, free: 10.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.009141, allocations: 3.938 kB / 227 MB, free: 10.85 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.243e-05/0.009163, allocations: 28.83 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009163, allocations: 0 / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000127/0.00929, allocations: 16 kB / 227 MB, free: 10.8 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.722e-05/0.009348, allocations: 80.44 kB / 227.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.006e-05/0.009408, allocations: 32.78 kB / 227.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.009413, allocations: 0 / 227.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.009437, allocations: 20.84 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.009627, allocations: 202.1 kB / 227.3 MB, free: 10.42 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.01042, allocations: 266.5 kB / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.01045, allocations: 67.34 kB / 227.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.01048, allocations: 8.719 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.01054, allocations: 59.38 kB / 227.7 MB, free: 9.984 MB / 234.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01054, allocations: 0 / 227.7 MB, free: 9.984 MB / 234.7 MB Notification: Performance of Templates: time 0.002364/0.01291, allocations: 1.264 MB / 229 MB, free: 8.727 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.192714812234044]