Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.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.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 95.25 kB / 16.04 MB, free: 5.746 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.1215/0.1215, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002396, allocations: 4 kB / 40.27 MB, free: 0.625 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007444/0.007707, allocations: 2.831 MB / 43.1 MB, free: 6.066 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.TestClockedRealToSquare): time 1.515/1.522, allocations: 277.5 MB / 320.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006294/1.523, allocations: 433.1 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/1.523, allocations: 0 / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/1.523, allocations: 6.078 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/1.523, allocations: 3.938 kB / 321.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/1.523, allocations: 35.91 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.231e-05/1.523, allocations: 35.92 kB / 321.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/1.524, allocations: 29.05 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/1.524, allocations: 15.92 kB / 321.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/1.524, allocations: 25.8 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/1.524, allocations: 7.922 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/1.524, allocations: 4 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/1.524, allocations: 0 / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/1.524, allocations: 45.56 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.554e-05/1.524, allocations: 50.22 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.524, allocations: 0 / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/1.524, allocations: 0 / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.155e-06/1.524, allocations: 0 / 321.3 MB, free: 10.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003738/1.524, allocations: 343.5 kB / 321.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/1.524, allocations: 8.031 kB / 321.7 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/1.524, allocations: 16.83 kB / 321.7 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.525, allocations: 180 kB / 321.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/1.525, allocations: 4.375 kB / 321.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/1.525, allocations: 4.375 kB / 321.9 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/1.525, allocations: 138.7 kB / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/1.525, allocations: 0 / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/1.525, allocations: 0.625 kB / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/1.525, allocations: 0 / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/1.525, allocations: 38.31 kB / 322 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/1.525, allocations: 268 kB / 322.3 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.526, allocations: 163.3 kB / 322.4 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/1.526, allocations: 41.31 kB / 322.5 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/1.526, allocations: 4 kB / 322.5 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.526, allocations: 34.5 kB / 322.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/1.526, allocations: 1.188 kB / 322.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002556/1.526, allocations: 99.44 kB / 322.6 MB, free: 8.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.526, allocations: 111.5 kB / 322.7 MB, free: 8.355 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/1.526, allocations: 116.5 kB / 322.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/1.526, allocations: 25.7 kB / 322.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/1.526, allocations: 88.12 kB / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/1.526, allocations: 7.906 kB / 323 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.526, allocations: 4 kB / 323 MB, free: 8.102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/1.526, allocations: 314.8 kB / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/1.526, allocations: 22.14 kB / 323.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/1.526, allocations: 49.44 kB / 323.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/1.526, allocations: 67.28 kB / 323.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.526, allocations: 0 / 323.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001525/1.527, allocations: 96.62 kB / 323.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.527, allocations: 11.94 kB / 323.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.527, allocations: 0 / 323.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.527, allocations: 0.6094 kB / 323.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/1.527, allocations: 12 kB / 323.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.527, allocations: 0.9062 kB / 323.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/1.527, allocations: 7.984 kB / 323.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/1.527, allocations: 9.844 kB / 323.6 MB, free: 7.488 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * 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 7.053e-05/1.527, allocations: 125.7 kB / 323.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/1.527, allocations: 53.62 kB / 323.7 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/1.527, allocations: 13.28 kB / 323.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.527, allocations: 0 / 323.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.527, allocations: 0 / 323.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.527, allocations: 0 / 323.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.527, allocations: 170.2 kB / 323.9 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.527, allocations: 4 kB / 323.9 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/1.527, allocations: 12.36 kB / 323.9 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.527, allocations: 4 kB / 323.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.527, allocations: 4 kB / 323.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.527, allocations: 4 kB / 323.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.527, allocations: 0 / 323.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/1.527, allocations: 189.1 kB / 324.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/1.528, allocations: 89 kB / 324.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/1.528, allocations: 8 kB / 324.2 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/1.528, allocations: 8 kB / 324.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.528, allocations: 3.938 kB / 324.2 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.528, allocations: 4 kB / 324.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/1.528, allocations: 87.27 kB / 324.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.528, allocations: 0 / 324.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001966/1.528, allocations: 8 kB / 324.3 MB, free: 6.605 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.644e-05/1.528, allocations: 104.8 kB / 324.4 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/1.528, allocations: 51.84 kB / 324.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.528, allocations: 0 / 324.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/1.528, allocations: 20.3 kB / 324.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.528, allocations: 27.94 kB / 324.5 MB, free: 6.398 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/1.529, allocations: 180.7 kB / 324.7 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/1.529, allocations: 0.6888 MB / 325.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.614e-05/1.529, allocations: 7.984 kB / 325.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/1.529, allocations: 15.38 kB / 325.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of SimCode: time 2.3e-07/1.529, allocations: 0 / 325.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of Templates: time 0.002127/1.531, allocations: 452.2 kB / 325.8 MB, free: 5.012 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)