Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009206/0.0009207, allocations: 174.7 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.7 MB / 241.9 MB, free: 392 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1052/0.1052, allocations: 8.484 MB / 301.5 MB, free: 5.613 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.0007432, allocations: 100.7 kB / 354.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004408, allocations: 7.781 kB / 417.2 MB, free: 89.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 52.13 MB / 469.3 MB, free: 42.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0005444/0.1206, allocations: 112.9 kB / 469.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.1208, allocations: 8 kB / 469.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.1208, allocations: 0 / 469.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1209, allocations: 0 / 469.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.1209, allocations: 0 / 469.4 MB, free: 42.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1211, allocations: 8 kB / 469.4 MB, free: 42.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.1211, allocations: 7.984 kB / 469.4 MB, free: 42.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.1212, allocations: 0 / 469.4 MB, free: 42.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1212, allocations: 11.92 kB / 469.4 MB, free: 42.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1213, allocations: 0 / 469.4 MB, free: 42.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1213, allocations: 3.938 kB / 469.4 MB, free: 42.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.1213, allocations: 0 / 469.4 MB, free: 42.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.1214, allocations: 0 / 469.4 MB, free: 42.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1214, allocations: 25.7 kB / 469.5 MB, free: 41.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.034e-05/0.1215, allocations: 4 kB / 469.5 MB, free: 41.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1215, allocations: 0 / 469.5 MB, free: 41.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1215, allocations: 0 / 469.5 MB, free: 41.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1215, allocations: 4 kB / 469.5 MB, free: 41.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002751/0.1218, allocations: 311.5 kB / 469.8 MB, free: 41.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1219, allocations: 12.09 kB / 469.8 MB, free: 41.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.1219, allocations: 0.9375 kB / 469.8 MB, free: 41.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.397e-05/0.122, allocations: 162 kB / 469.9 MB, free: 41.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.122, allocations: 384 / 469.9 MB, free: 41.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.122, allocations: 384 / 469.9 MB, free: 41.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.875e-05/0.1221, allocations: 30.27 kB / 470 MB, free: 41.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1221, allocations: 192 / 470 MB, free: 41.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1222, allocations: 7.938 kB / 470 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1222, allocations: 0 / 470 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.1222, allocations: 7.922 kB / 470 MB, free: 41.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.1225, allocations: 153.7 kB / 470.1 MB, free: 41.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.502e-05/0.1225, allocations: 14.58 kB / 470.2 MB, free: 41.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.1225, allocations: 4.859 kB / 470.2 MB, free: 41.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.1226, allocations: 96 / 470.2 MB, free: 41.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1226, allocations: 46.48 kB / 470.2 MB, free: 41.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1226, allocations: 0 / 470.2 MB, free: 41.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.1227, allocations: 45.52 kB / 470.3 MB, free: 41.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1228, allocations: 51.41 kB / 470.3 MB, free: 40.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.1228, allocations: 89.86 kB / 470.4 MB, free: 40.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1228, allocations: 25.7 kB / 470.4 MB, free: 40.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.1229, allocations: 84.14 kB / 470.5 MB, free: 40.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1229, allocations: 3.906 kB / 470.5 MB, free: 40.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1229, allocations: 4.125 kB / 470.5 MB, free: 40.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.1229, allocations: 318.8 kB / 470.8 MB, free: 40.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.123, allocations: 0 / 470.8 MB, free: 40.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.123, allocations: 4 kB / 470.8 MB, free: 40.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.123, allocations: 8.859 kB / 470.8 MB, free: 40.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.123, allocations: 0 / 470.8 MB, free: 40.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.792e-05/0.1231, allocations: 41.64 kB / 470.9 MB, free: 40.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1231, allocations: 4 kB / 470.9 MB, free: 40.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1231, allocations: 4.094 kB / 470.9 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1232, allocations: 7.938 kB / 470.9 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.1232, allocations: 7.984 kB / 470.9 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1232, allocations: 0 / 470.9 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1233, allocations: 0 / 470.9 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1233, allocations: 0 / 470.9 MB, free: 40.34 MB / 330.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 (2): * Single equations (assignments): 2 * 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 5.968e-05/0.1233, allocations: 109.8 kB / 471 MB, free: 40.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1233, allocations: 0 / 471 MB, free: 40.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.1234, allocations: 11.06 kB / 471 MB, free: 40.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1234, allocations: 4 kB / 471 MB, free: 40.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1234, allocations: 3.984 kB / 471 MB, free: 40.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1234, allocations: 0 / 471 MB, free: 40.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1235, allocations: 153.7 kB / 471.2 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1236, allocations: 0 / 471.2 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1236, allocations: 0 / 471.2 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1236, allocations: 0 / 471.2 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1236, allocations: 3.938 kB / 471.2 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1236, allocations: 0 / 471.2 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1236, allocations: 4 kB / 471.2 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1238, allocations: 69.06 kB / 471.2 MB, free: 39.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.1238, allocations: 81.05 kB / 471.3 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1238, allocations: 3.938 kB / 471.3 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.1238, allocations: 0 / 471.3 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.1239, allocations: 0 / 471.3 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1239, allocations: 0 / 471.3 MB, free: 39.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.663e-05/0.1239, allocations: 79.27 kB / 471.4 MB, free: 39.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1239, allocations: 128 / 471.4 MB, free: 39.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.1242, allocations: 8 kB / 471.4 MB, free: 39.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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 8.969e-05/0.1243, allocations: 107.1 kB / 471.5 MB, free: 39.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.781e-05/0.1244, allocations: 11.94 kB / 471.5 MB, free: 39.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1244, allocations: 0 / 471.5 MB, free: 39.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-06/0.1244, allocations: 4 kB / 471.5 MB, free: 39.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.1246, allocations: 3.938 kB / 471.5 MB, free: 39.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.1248, allocations: 109 kB / 471.6 MB, free: 39.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.1249, allocations: 0.6692 MB / 472.3 MB, free: 38.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.125, allocations: 0 / 472.3 MB, free: 38.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.125, allocations: 7.438 kB / 472.3 MB, free: 38.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.125, allocations: 0 / 472.3 MB, free: 38.74 MB / 330.7 MB Notification: Performance of Templates: time 0.002005/0.127, allocations: 205 kB / 472.5 MB, free: 38.54 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)