Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007813/0.0007813, allocations: 95.56 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002248, allocations: 8 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2022, allocations: 51.42 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001336/0.2035, allocations: 1.368 MB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006861/0.2043, allocations: 0.7355 MB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.2043, allocations: 4 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.2044, allocations: 7.922 kB / 414.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.2046, allocations: 24.95 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.2048, allocations: 35.95 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2049, allocations: 97.73 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.205, allocations: 29.09 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2051, allocations: 43.47 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.2052, allocations: 31.78 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2052, allocations: 4 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-05/0.2052, allocations: 4 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.2053, allocations: 23.84 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.2053, allocations: 61.44 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2055, allocations: 85.23 kB / 414.6 MB, free: 23.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2055, allocations: 0 / 414.6 MB, free: 23.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2055, allocations: 0 / 414.6 MB, free: 23.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.2055, allocations: 1.719 kB / 414.6 MB, free: 23.31 MB / 298.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.0003958/0.2059, allocations: 391.2 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2059, allocations: 12.02 kB / 415 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.206, allocations: 24.75 kB / 415 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2062, allocations: 200.6 kB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2062, allocations: 8.375 kB / 415.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2063, allocations: 12.03 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.2064, allocations: 81.66 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2064, allocations: 7.938 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2065, allocations: 4 kB / 415.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2065, allocations: 0 / 415.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2066, allocations: 43.97 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.207, allocations: 411.9 kB / 415.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2072, allocations: 74.5 kB / 415.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.2072, allocations: 32.89 kB / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2073, allocations: 0 / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.2073, allocations: 34.56 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.2073, allocations: 0 / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002483/0.2075, allocations: 101.5 kB / 416 MB, free: 21.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2076, allocations: 55.34 kB / 416.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.2077, allocations: 153.7 kB / 416.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2077, allocations: 25.7 kB / 416.2 MB, free: 21.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.2077, allocations: 108 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2077, allocations: 23.8 kB / 416.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2078, allocations: 0 / 416.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.2078, allocations: 322.8 kB / 416.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.2079, allocations: 19.98 kB / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.2079, allocations: 23.98 kB / 416.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.208, allocations: 56.84 kB / 416.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.208, allocations: 0 / 416.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000134/0.2082, allocations: 85.69 kB / 416.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2082, allocations: 4 kB / 416.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2082, allocations: 3.938 kB / 416.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2082, allocations: 4 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2084, allocations: 39.97 kB / 416.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2085, allocations: 4.062 kB / 416.9 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.2085, allocations: 11.98 kB / 416.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2085, allocations: 0 / 416.9 MB, free: 20.75 MB / 298.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 6.02e-05/0.2086, allocations: 121.8 kB / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2086, allocations: 11.84 kB / 417.1 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.2087, allocations: 8.312 kB / 417.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2087, allocations: 3.984 kB / 417.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2087, allocations: 8 kB / 417.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2087, allocations: 0 / 417.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2088, allocations: 201.5 kB / 417.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2088, allocations: 0 / 417.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.209, allocations: 23.92 kB / 417.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.209, allocations: 0 / 417.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.209, allocations: 4 kB / 417.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.209, allocations: 0 / 417.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.209, allocations: 7.938 kB / 417.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2092, allocations: 207.6 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.2093, allocations: 88.89 kB / 417.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2093, allocations: 12.02 kB / 417.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.2094, allocations: 4 kB / 417.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.2094, allocations: 4 kB / 417.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2094, allocations: 0 / 417.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.2095, allocations: 111.3 kB / 417.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2095, allocations: 4 kB / 417.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.2097, allocations: 16 kB / 417.7 MB, free: 19.83 MB / 298.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 6.69e-05/0.2097, allocations: 95.25 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.2099, allocations: 55.91 kB / 417.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2099, allocations: 3.938 kB / 417.9 MB, free: 19.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.21, allocations: 27.98 kB / 417.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2103, allocations: 27.92 kB / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.2107, allocations: 298.8 kB / 418.2 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2109, allocations: 0.7004 MB / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.2109, allocations: 7.984 kB / 419 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.211, allocations: 11.44 kB / 419 MB, free: 18.55 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.211, allocations: 7.938 kB / 419 MB, free: 18.54 MB / 298.7 MB Notification: Performance of Templates: time 0.002405/0.2134, allocations: 0.8062 MB / 419.8 MB, free: 17.74 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches