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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 114.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 47.94 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 46.61 MB / 375.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003372/0.118, allocations: 1.68 MB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1193, allocations: 0.5353 MB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.1194, allocations: 3.938 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.1196, allocations: 7.875 kB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1198, allocations: 19.8 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.12, allocations: 51.94 kB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1203, allocations: 99.62 kB / 377.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1204, allocations: 37.09 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.1205, allocations: 31.86 kB / 377.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1206, allocations: 47.77 kB / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1207, allocations: 8 kB / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.1207, allocations: 8 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1208, allocations: 23.91 kB / 377.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.1208, allocations: 39.69 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.121, allocations: 87.58 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.121, allocations: 0 / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.121, allocations: 0 / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1211, allocations: 4 kB / 377.8 MB, free: 1.91 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.0007269/0.1218, allocations: 407 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1218, allocations: 8.031 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1219, allocations: 8.844 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1222, allocations: 216.6 kB / 378.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1222, allocations: 4.375 kB / 378.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.1223, allocations: 16.12 kB / 378.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1225, allocations: 77.66 kB / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1225, allocations: 0 / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1225, allocations: 0 / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1225, allocations: 4 kB / 378.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1227, allocations: 43.86 kB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.1233, allocations: 408 kB / 379 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1235, allocations: 58.5 kB / 379 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.1235, allocations: 32.92 kB / 379 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1236, allocations: 3.938 kB / 379.1 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1236, allocations: 34.56 kB / 379.1 MB, free: 452 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1236, allocations: 0 / 379.1 MB, free: 452 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003536/0.124, allocations: 109.6 kB / 379.2 MB, free: 336 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.124, allocations: 51.41 kB / 379.2 MB, free: 272 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1241, allocations: 141.8 kB / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1242, allocations: 25.7 kB / 379.4 MB, free: 88 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2583/0.3825, allocations: 111.6 kB / 379.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.3826, allocations: 21.16 kB / 379.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.3826, allocations: 19.83 kB / 379.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.3827, allocations: 321.4 kB / 379.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3828, allocations: 20.72 kB / 379.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.3829, allocations: 21.8 kB / 379.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.383, allocations: 47.45 kB / 380 MB, free: 13.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.383, allocations: 0 / 380 MB, free: 13.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002149/0.3833, allocations: 92.25 kB / 380 MB, free: 13.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3833, allocations: 8.906 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3833, allocations: 1.688 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3833, allocations: 3.75 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3836, allocations: 39.62 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3836, allocations: 0.75 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.3837, allocations: 3.734 kB / 380.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3837, allocations: 5.703 kB / 380.1 MB, free: 13.36 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 8.283e-05/0.3838, allocations: 116 kB / 380.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3838, allocations: 11.8 kB / 380.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.3839, allocations: 18.08 kB / 380.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3839, allocations: 1.219 kB / 380.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3839, allocations: 1.031 kB / 380.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3839, allocations: 1.312 kB / 380.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3841, allocations: 191 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3841, allocations: 1.594 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3842, allocations: 25.27 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3843, allocations: 2.688 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3843, allocations: 9.719 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3843, allocations: 0 / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3843, allocations: 2.172 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3846, allocations: 199 kB / 380.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.3846, allocations: 86.44 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3846, allocations: 5.312 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.3847, allocations: 3.938 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3848, allocations: 7.844 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3848, allocations: 1.375 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.766e-05/0.3848, allocations: 111 kB / 380.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3849, allocations: 2.688 kB / 380.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000234/0.3851, allocations: 21.06 kB / 380.9 MB, free: 12.74 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 0.0001298/0.3852, allocations: 95.25 kB / 381 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3855, allocations: 51.48 kB / 381.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3855, allocations: 1.375 kB / 381.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.3855, allocations: 21.2 kB / 381.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3859, allocations: 26 kB / 381.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.3866, allocations: 269 kB / 381.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.3868, allocations: 0.7082 MB / 382.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.3868, allocations: 17 kB / 382.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3869, allocations: 10.38 kB / 382.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3869, allocations: 1.125 kB / 382.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Templates: time 0.003839/0.3907, allocations: 0.9111 MB / 383 MB, free: 11.69 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches