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.001492/0.001492, allocations: 111.2 kB / 18.41 MB, free: 4.691 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.001731/0.001731, allocations: 187.3 kB / 19.34 MB, free: 3.766 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.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001233/0.001233, allocations: 51.91 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07064/0.07188, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002765/0.07467, allocations: 1.673 MB / 377.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.07559, allocations: 0.5267 MB / 378 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.07569, allocations: 0 / 378 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.516e-05/0.07581, allocations: 15.86 kB / 378 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.076, allocations: 23.8 kB / 378.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.07618, allocations: 47.88 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.07634, allocations: 107.7 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.07645, allocations: 33.09 kB / 378.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.07654, allocations: 39.86 kB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.07664, allocations: 47.7 kB / 378.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.07667, allocations: 4 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/0.07669, allocations: 8 kB / 378.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.07675, allocations: 19.92 kB / 378.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.07681, allocations: 39.73 kB / 378.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.07694, allocations: 87.52 kB / 378.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.07695, allocations: 4 kB / 378.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.07696, allocations: 0 / 378.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.07697, allocations: 0 / 378.5 MB, free: 1.906 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.000524/0.0775, allocations: 418.9 kB / 378.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.07754, allocations: 8.031 kB / 378.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.07758, allocations: 12.84 kB / 378.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.07781, allocations: 204.8 kB / 379.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.07783, allocations: 8.375 kB / 379.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.07787, allocations: 12.11 kB / 379.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.07804, allocations: 81.61 kB / 379.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.07806, allocations: 0 / 379.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.07807, allocations: 0 / 379.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.07808, allocations: 4 kB / 379.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.0782, allocations: 39.97 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.07877, allocations: 404 kB / 379.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.07892, allocations: 70.58 kB / 379.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.079, allocations: 32.83 kB / 379.7 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.07903, allocations: 0 / 379.7 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.07906, allocations: 34.5 kB / 379.8 MB, free: 440 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.07906, allocations: 0 / 379.8 MB, free: 440 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002677/0.07934, allocations: 101.6 kB / 379.9 MB, free: 332 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.07937, allocations: 55.41 kB / 379.9 MB, free: 264 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.07949, allocations: 149.8 kB / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.07951, allocations: 25.7 kB / 380.1 MB, free: 72 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1336/0.2131, allocations: 108.9 kB / 380.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2132, allocations: 22.56 kB / 380.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.2132, allocations: 19.36 kB / 380.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.2133, allocations: 318.2 kB / 380.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.2134, allocations: 21.25 kB / 380.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.2135, allocations: 20.94 kB / 380.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2136, allocations: 50.14 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2136, allocations: 0 / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001807/0.2138, allocations: 91.5 kB / 380.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2138, allocations: 5.844 kB / 380.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2138, allocations: 4.781 kB / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2138, allocations: 1.734 kB / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.2141, allocations: 43.25 kB / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2141, allocations: 0 / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.2142, allocations: 8.203 kB / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2142, allocations: 1.375 kB / 380.8 MB, free: 12.79 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.207e-05/0.2142, allocations: 115.5 kB / 380.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.2143, allocations: 12.06 kB / 380.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.2143, allocations: 15.17 kB / 380.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2143, allocations: 5.531 kB / 381 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2143, allocations: 0 / 381 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.2144, allocations: 85.12 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2144, allocations: 1.375 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.2145, allocations: 3.016 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.2145, allocations: 7.766 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003496/0.2149, allocations: 179 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002479/0.2151, allocations: 284.4 kB / 381.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.579e-05/0.2152, allocations: 22.95 kB / 381.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.2153, allocations: 112.1 kB / 381.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Backend: time 8.72e-07/0.2153, allocations: 0 / 381.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.2156, allocations: 108.3 kB / 381.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005211/0.2162, allocations: 0.6973 MB / 382.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of Templates: time 0.003351/0.2195, allocations: 1.056 MB / 383.5 MB, free: 11.41 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