Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009115, allocations: 98.97 kB / 16.05 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1105/0.1105, allocations: 12.62 MB / 29.4 MB, free: 5.793 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002375, allocations: 8 kB / 40.28 MB, free: 0.5195 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007042/0.007302, allocations: 2.828 MB / 43.11 MB, free: 5.965 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 1.575/1.582, allocations: 277.7 MB / 320.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/1.583, allocations: 456.6 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/1.583, allocations: 8.562 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/1.583, allocations: 3.938 kB / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.378e-05/1.583, allocations: 8.797 kB / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/1.584, allocations: 48.69 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/1.584, allocations: 71.7 kB / 321.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/1.584, allocations: 41.48 kB / 321.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/1.584, allocations: 23.86 kB / 321.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/1.584, allocations: 38.31 kB / 321.5 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/1.584, allocations: 0 / 321.5 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/1.584, allocations: 4 kB / 321.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/1.584, allocations: 3.938 kB / 321.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/1.584, allocations: 61.44 kB / 321.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/1.584, allocations: 63.7 kB / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.584, allocations: 0 / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.584, allocations: 2.156 kB / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/1.584, allocations: 0 / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004766/1.585, allocations: 371.3 kB / 322 MB, free: 9.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.585, allocations: 8.031 kB / 322 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/1.585, allocations: 13.62 kB / 322 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/1.585, allocations: 208.1 kB / 322.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.585, allocations: 5.969 kB / 322.2 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.585, allocations: 8.375 kB / 322.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/1.586, allocations: 177.2 kB / 322.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.586, allocations: 0.8438 kB / 322.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.586, allocations: 4 kB / 322.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.586, allocations: 0.6562 kB / 322.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/1.586, allocations: 44.66 kB / 322.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/1.586, allocations: 306.2 kB / 322.7 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/1.587, allocations: 208.4 kB / 322.9 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/1.587, allocations: 69.75 kB / 323 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/1.587, allocations: 3.984 kB / 323 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.587, allocations: 44.97 kB / 323.1 MB, free: 8.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/1.587, allocations: 0 / 323.1 MB, free: 8.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003721/1.587, allocations: 137.3 kB / 323.2 MB, free: 7.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/1.587, allocations: 140.5 kB / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.587, allocations: 129.8 kB / 323.5 MB, free: 7.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/1.587, allocations: 25.7 kB / 323.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/1.588, allocations: 100.7 kB / 323.6 MB, free: 7.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/1.588, allocations: 9.688 kB / 323.6 MB, free: 7.508 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-06/1.588, allocations: 0 / 323.6 MB, free: 7.508 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/1.588, allocations: 322.8 kB / 323.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/1.588, allocations: 23.05 kB / 323.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/1.588, allocations: 81.44 kB / 324 MB, free: 7.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.588, allocations: 120.8 kB / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.588, allocations: 0 / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002326/1.588, allocations: 126.3 kB / 324.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.588, allocations: 8.625 kB / 324.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.588, allocations: 0 / 324.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.588, allocations: 4 kB / 324.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.589, allocations: 23.98 kB / 324.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.589, allocations: 4 kB / 324.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/1.589, allocations: 16.48 kB / 324.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/1.589, allocations: 11.94 kB / 324.3 MB, free: 6.711 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 0.0001103/1.589, allocations: 133.6 kB / 324.4 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.589, allocations: 93.53 kB / 324.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/1.589, allocations: 16.3 kB / 324.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.589, allocations: 0 / 324.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.589, allocations: 4 kB / 324.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.589, allocations: 0 / 324.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/1.589, allocations: 185.6 kB / 324.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.589, allocations: 4.031 kB / 324.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/1.589, allocations: 27.92 kB / 324.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.589, allocations: 0 / 324.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/1.589, allocations: 4 kB / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.589, allocations: 0 / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.589, allocations: 0 / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/1.59, allocations: 226 kB / 325 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/1.59, allocations: 100.8 kB / 325.1 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/1.59, allocations: 4 kB / 325.1 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/1.59, allocations: 4 kB / 325.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/1.59, allocations: 7.875 kB / 325.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.59, allocations: 4 kB / 325.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.125e-05/1.59, allocations: 115.2 kB / 325.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.59, allocations: 0 / 325.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002325/1.59, allocations: 12 kB / 325.2 MB, free: 5.676 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (11): * Single equations (assignments): 11 * 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.0001206/1.59, allocations: 100.6 kB / 325.3 MB, free: 5.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/1.591, allocations: 76.47 kB / 325.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.591, allocations: 0 / 325.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/1.591, allocations: 11.98 kB / 325.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.591, allocations: 60.28 kB / 325.5 MB, free: 5.426 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/1.591, allocations: 247.9 kB / 325.7 MB, free: 5.145 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.592, allocations: 0.7004 MB / 326.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/1.592, allocations: 12.55 kB / 326.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/1.592, allocations: 11.44 kB / 326.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/1.592, allocations: 0 / 326.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of Templates: time 0.003213/1.595, allocations: 0.9186 MB / 327.4 MB, free: 3.488 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)