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.00128/0.00128, allocations: 84.56 kB / 21.99 MB, free: 4.754 MB / 14.72 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.001305/0.001305, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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.347/1.347, allocations: 158.6 MB / 187 MB, free: 6.203 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 55.92 kB / 299.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2441, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00327/0.2474, allocations: 1.65 MB / 350.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2485, allocations: 0.4972 MB / 350.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2486, allocations: 7.938 kB / 350.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2487, allocations: 11.86 kB / 350.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.249, allocations: 23.8 kB / 350.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2492, allocations: 43.94 kB / 350.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.2494, allocations: 107.6 kB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2495, allocations: 21.3 kB / 350.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2496, allocations: 43.86 kB / 350.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2498, allocations: 39.77 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2498, allocations: 8 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.2498, allocations: 8 kB / 350.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.2499, allocations: 23.92 kB / 351 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.2499, allocations: 39.67 kB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.2501, allocations: 86.17 kB / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2501, allocations: 0 / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2501, allocations: 0 / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2501, allocations: 0 / 351.1 MB, free: 12.92 MB / 318.1 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.0006001/0.2507, allocations: 329.9 kB / 351.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2508, allocations: 11.98 kB / 351.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.2508, allocations: 20.78 kB / 351.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.2511, allocations: 150.9 kB / 351.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2511, allocations: 8.312 kB / 351.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2512, allocations: 12.12 kB / 351.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.2513, allocations: 77.66 kB / 351.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2514, allocations: 0 / 351.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2514, allocations: 4 kB / 351.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2514, allocations: 0 / 351.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2515, allocations: 43.91 kB / 351.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.252, allocations: 288.2 kB / 352 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2522, allocations: 62.58 kB / 352.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.2523, allocations: 28.89 kB / 352.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2523, allocations: 0 / 352.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2523, allocations: 34.56 kB / 352.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.2523, allocations: 0 / 352.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002914/0.2526, allocations: 93.56 kB / 352.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2526, allocations: 59.34 kB / 352.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2528, allocations: 153.7 kB / 352.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2528, allocations: 29.7 kB / 352.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.2529, allocations: 108.2 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.2529, allocations: 23.8 kB / 352.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2529, allocations: 21.7 kB / 352.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2531, allocations: 318.8 kB / 352.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.2532, allocations: 15.98 kB / 352.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.2532, allocations: 23.98 kB / 353 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.2533, allocations: 48.83 kB / 353 MB, free: 10.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2533, allocations: 4 kB / 353 MB, free: 10.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.2535, allocations: 89.72 kB / 353.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2535, allocations: 11.94 kB / 353.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2535, allocations: 80 / 353.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2536, allocations: 0 / 353.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2538, allocations: 35.97 kB / 353.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2538, allocations: 3.984 kB / 353.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.2539, allocations: 4 kB / 353.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2539, allocations: 4 kB / 353.2 MB, free: 10.67 MB / 318.1 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 9.499e-05/0.254, allocations: 117.8 kB / 353.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.254, allocations: 19.84 kB / 353.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.254, allocations: 12.45 kB / 353.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.254, allocations: 3.984 kB / 353.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.254, allocations: 4 kB / 353.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.254, allocations: 0 / 353.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2542, allocations: 129.5 kB / 353.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2542, allocations: 7.938 kB / 353.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2544, allocations: 23.97 kB / 353.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2544, allocations: 7.938 kB / 353.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2544, allocations: 7.875 kB / 353.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2544, allocations: 4 kB / 353.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2544, allocations: 0 / 353.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.2547, allocations: 199.5 kB / 353.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.2547, allocations: 7.984 kB / 353.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.2547, allocations: 3.938 kB / 353.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.2548, allocations: 4 kB / 353.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2549, allocations: 7.984 kB / 353.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2549, allocations: 0 / 353.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.255, allocations: 115.3 kB / 353.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.255, allocations: 3.938 kB / 353.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2552, allocations: 23.89 kB / 353.9 MB, free: 9.922 MB / 318.1 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.356e-05/0.2553, allocations: 87.25 kB / 353.9 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2555, allocations: 43.98 kB / 354 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2555, allocations: 0 / 354 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.2555, allocations: 27.92 kB / 354 MB, free: 9.758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2559, allocations: 19.92 kB / 354 MB, free: 9.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.2565, allocations: 273.4 kB / 354.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.2566, allocations: 88.3 kB / 354.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.2566, allocations: 11.84 kB / 354.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.2567, allocations: 16.5 kB / 354.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2567, allocations: 0 / 354.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Templates: time 0.003877/0.2605, allocations: 0.9431 MB / 355.4 MB, free: 8.367 MB / 318.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/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.228830037987791]