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.001258/0.001258, allocations: 113.3 kB / 18.4 MB, free: 4.68 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.001319/0.001319, allocations: 189.2 kB / 19.33 MB, free: 3.758 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.232/1.232, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001179/0.001179, allocations: 48.41 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07125/0.07243, allocations: 46.62 MB / 375.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002664/0.07513, allocations: 1.674 MB / 377.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000852/0.07601, allocations: 0.5306 MB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.07611, allocations: 0 / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.619e-05/0.07623, allocations: 11.88 kB / 378 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.0764, allocations: 23.78 kB / 378 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.07657, allocations: 55.86 kB / 378.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.07674, allocations: 95.7 kB / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.07686, allocations: 33.11 kB / 378.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.07696, allocations: 47.77 kB / 378.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.07705, allocations: 39.78 kB / 378.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.07708, allocations: 8 kB / 378.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.0771, allocations: 8 kB / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.07716, allocations: 15.92 kB / 378.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.07722, allocations: 43.72 kB / 378.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.07736, allocations: 95.52 kB / 378.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.07737, allocations: 4 kB / 378.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07737, allocations: 4 kB / 378.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.07738, allocations: 0 / 378.5 MB, free: 1.93 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.0005017/0.07789, allocations: 403 kB / 378.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.07793, allocations: 8.031 kB / 378.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.07797, allocations: 12.84 kB / 378.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.07821, allocations: 204.6 kB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.07823, allocations: 12.38 kB / 379.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.07826, allocations: 8.125 kB / 379.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.07843, allocations: 77.66 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.07845, allocations: 0 / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.07847, allocations: 4 kB / 379.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.07848, allocations: 4 kB / 379.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.07859, allocations: 43.91 kB / 379.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.07912, allocations: 399.9 kB / 379.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.07927, allocations: 62.59 kB / 379.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.07934, allocations: 32.83 kB / 379.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.07936, allocations: 3.938 kB / 379.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.07939, allocations: 30.56 kB / 379.8 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.07939, allocations: 8 kB / 379.8 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002559/0.07965, allocations: 97.5 kB / 379.9 MB, free: 376 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.0797, allocations: 51.41 kB / 379.9 MB, free: 312 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.07981, allocations: 145.8 kB / 380.1 MB, free: 156 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.07983, allocations: 25.7 kB / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.0799, allocations: 108.1 kB / 380.2 MB, free: 12 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1482/0.2281, allocations: 32.08 kB / 380.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.2282, allocations: 17.86 kB / 380.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.2283, allocations: 322 kB / 380.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.032e-05/0.2284, allocations: 20.03 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.2284, allocations: 23.7 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.2285, allocations: 47.03 kB / 380.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2285, allocations: 0 / 380.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.2287, allocations: 92.52 kB / 380.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2287, allocations: 5.562 kB / 380.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2288, allocations: 0 / 380.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2288, allocations: 2.234 kB / 380.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.229, allocations: 39.16 kB / 380.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.229, allocations: 0.6094 kB / 380.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.2291, allocations: 8.469 kB / 380.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2291, allocations: 3.516 kB / 380.8 MB, free: 12.77 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 6.536e-05/0.2292, allocations: 116.3 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.2292, allocations: 7.531 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.2292, allocations: 18.42 kB / 380.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2292, allocations: 4.812 kB / 380.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2292, allocations: 0.9688 kB / 380.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2293, allocations: 0.8438 kB / 380.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2294, allocations: 195.3 kB / 381.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2294, allocations: 4.859 kB / 381.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2296, allocations: 23.86 kB / 381.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2296, allocations: 0.9375 kB / 381.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2296, allocations: 5.406 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2296, allocations: 3.938 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2296, allocations: 0 / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2298, allocations: 199.2 kB / 381.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.2299, allocations: 86.34 kB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.2299, allocations: 0 / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.23, allocations: 8.969 kB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.23, allocations: 7.656 kB / 381.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.23, allocations: 2.031 kB / 381.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.2301, allocations: 114.1 kB / 381.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2301, allocations: 3.906 kB / 381.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.2303, allocations: 19.45 kB / 381.6 MB, free: 12.15 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 6.867e-05/0.2304, allocations: 92.61 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.2306, allocations: 53.53 kB / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2306, allocations: 0 / 381.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.2306, allocations: 26.36 kB / 381.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.231, allocations: 19.7 kB / 381.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2315, allocations: 294.9 kB / 382.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2316, allocations: 0.7051 MB / 382.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2317, allocations: 16.27 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2317, allocations: 0 / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of Templates: time 0.002646/0.2343, allocations: 1.214 MB / 384 MB, free: 11.09 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/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) Reference file matches