Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007441/0.0007441, allocations: 96.98 kB / 16.04 MB, free: 5.168 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.0714/0.0714, allocations: 12.63 MB / 29.41 MB, free: 5.75 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001537/0.0001537, allocations: 0 / 40.27 MB, free: 416 kB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004473/0.004644, allocations: 2.836 MB / 43.11 MB, free: 5.852 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.Examples.Elementary.RealSignals.Sample3): time 1.495/1.499, allocations: 277.7 MB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000351/1.5, allocations: 151.6 kB / 320.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/1.5, allocations: 0 / 320.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/1.5, allocations: 7.922 kB / 320.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/1.5, allocations: 9.031 kB / 321 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/1.5, allocations: 39.91 kB / 321 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.721e-05/1.5, allocations: 51.84 kB / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/1.5, allocations: 42.59 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/1.501, allocations: 11.94 kB / 321.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/1.501, allocations: 27.8 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/1.501, allocations: 0 / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/1.501, allocations: 7.594 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/1.501, allocations: 11.92 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/1.501, allocations: 49.52 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/1.501, allocations: 67.64 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.501, allocations: 0 / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.501, allocations: 0 / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/1.501, allocations: 0 / 321.3 MB, free: 10.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004248/1.501, allocations: 378.9 kB / 321.6 MB, free: 9.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.501, allocations: 11.97 kB / 321.6 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/1.501, allocations: 12.75 kB / 321.7 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.502, allocations: 196.1 kB / 321.8 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.502, allocations: 4.375 kB / 321.8 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.502, allocations: 8.375 kB / 321.9 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/1.502, allocations: 170.2 kB / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.502, allocations: 192 / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.502, allocations: 7.938 kB / 322 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.502, allocations: 0 / 322 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/1.502, allocations: 43.91 kB / 322.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/1.502, allocations: 364.7 kB / 322.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/1.503, allocations: 118.6 kB / 322.5 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/1.503, allocations: 59.98 kB / 322.6 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/1.503, allocations: 6.375 kB / 322.6 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/1.503, allocations: 34.56 kB / 322.6 MB, free: 8.512 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.503, allocations: 0 / 322.6 MB, free: 8.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003507/1.503, allocations: 135.1 kB / 322.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/1.503, allocations: 104.8 kB / 322.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/1.503, allocations: 137.7 kB / 323 MB, free: 8.105 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.503, allocations: 29.7 kB / 323 MB, free: 8.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/1.504, allocations: 93.34 kB / 323.1 MB, free: 7.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.504, allocations: 7.844 kB / 323.1 MB, free: 7.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/1.504, allocations: 8 kB / 323.1 MB, free: 7.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/1.504, allocations: 316.8 kB / 323.5 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/1.504, allocations: 16 kB / 323.5 MB, free: 7.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/1.504, allocations: 73.5 kB / 323.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.504, allocations: 105.5 kB / 323.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.504, allocations: 0 / 323.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/1.504, allocations: 108.9 kB / 323.8 MB, free: 7.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.504, allocations: 8 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.504, allocations: 1.031 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.504, allocations: 4 kB / 323.8 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/1.504, allocations: 20.52 kB / 323.8 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.504, allocations: 8 kB / 323.8 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/1.504, allocations: 11.91 kB / 323.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.504, allocations: 8.172 kB / 323.8 MB, free: 7.238 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 8.509e-05/1.504, allocations: 133.6 kB / 323.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.505, allocations: 81.53 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/1.505, allocations: 12.72 kB / 324 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.505, allocations: 0 / 324 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.505, allocations: 0 / 324 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.505, allocations: 4 kB / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/1.505, allocations: 189.5 kB / 324.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.505, allocations: 3.984 kB / 324.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/1.505, allocations: 19.94 kB / 324.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.505, allocations: 0 / 324.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/1.505, allocations: 4 kB / 324.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.505, allocations: 3.984 kB / 324.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.505, allocations: 0 / 324.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/1.505, allocations: 324.2 kB / 324.6 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/1.505, allocations: 100.9 kB / 324.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.505, allocations: 7.938 kB / 324.7 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.506, allocations: 7.984 kB / 324.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/1.506, allocations: 4 kB / 324.7 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.506, allocations: 8 kB / 324.7 MB, free: 6.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.093e-05/1.506, allocations: 111.8 kB / 324.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.506, allocations: 0 / 324.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002477/1.506, allocations: 8 kB / 324.8 MB, free: 6.125 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001013/1.506, allocations: 103.2 kB / 324.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/1.506, allocations: 63.84 kB / 325 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.506, allocations: 0 / 325 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/1.506, allocations: 8 kB / 325 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/1.507, allocations: 51.95 kB / 325 MB, free: 5.895 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/1.507, allocations: 241.5 kB / 325.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/1.507, allocations: 0.7004 MB / 326 MB, free: 4.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/1.508, allocations: 8.672 kB / 326 MB, free: 4.891 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/1.508, allocations: 15.42 kB / 326 MB, free: 4.875 MB / 250.7 MB Notification: Performance of SimCode: time 2.6e-07/1.508, allocations: 3.938 kB / 326 MB, free: 4.871 MB / 250.7 MB Notification: Performance of Templates: time 0.002695/1.51, allocations: 0.6251 MB / 326.6 MB, free: 4.254 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches