Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007676/0.0007677, allocations: 95.73 kB / 16.04 MB, free: 5.598 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.07623/0.07623, allocations: 12.63 MB / 29.41 MB, free: 5.777 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001829/0.000183, allocations: 4 kB / 40.28 MB, free: 0.5039 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005147/0.005345, allocations: 2.828 MB / 43.1 MB, free: 5.953 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.SampleClocked): time 1.488/1.493, allocations: 277.6 MB / 320.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/1.494, allocations: 431.8 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/1.494, allocations: 4.562 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/1.494, allocations: 3.938 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/1.494, allocations: 12.45 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/1.494, allocations: 37.59 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.721e-05/1.495, allocations: 35.92 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/1.495, allocations: 12.98 kB / 321.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/1.495, allocations: 23.84 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/1.495, allocations: 19.86 kB / 321.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/1.495, allocations: 6.875 kB / 321.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/1.495, allocations: 0 / 321.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/1.495, allocations: 4 kB / 321.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/1.495, allocations: 49.5 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/1.495, allocations: 46.77 kB / 321.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.495, allocations: 0 / 321.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.495, allocations: 0 / 321.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.227e-06/1.495, allocations: 0 / 321.3 MB, free: 9.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004208/1.496, allocations: 355.3 kB / 321.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/1.496, allocations: 12.03 kB / 321.7 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/1.496, allocations: 8.844 kB / 321.7 MB, free: 9.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.496, allocations: 196 kB / 321.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/1.496, allocations: 384 / 321.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.496, allocations: 8.312 kB / 321.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/1.496, allocations: 91.64 kB / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.496, allocations: 0 / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/1.496, allocations: 0 / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.496, allocations: 5.469 kB / 322 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/1.496, allocations: 27.86 kB / 322 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/1.496, allocations: 265.2 kB / 322.3 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/1.497, allocations: 41.16 kB / 322.3 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/1.497, allocations: 29.27 kB / 322.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.497, allocations: 3.984 kB / 322.4 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.497, allocations: 34.56 kB / 322.4 MB, free: 8.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/1.497, allocations: 0 / 322.4 MB, free: 8.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002358/1.497, allocations: 71.3 kB / 322.5 MB, free: 8.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.497, allocations: 86.14 kB / 322.5 MB, free: 8.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.497, allocations: 134.6 kB / 322.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.497, allocations: 33.62 kB / 322.7 MB, free: 8.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/1.497, allocations: 86.23 kB / 322.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/1.497, allocations: 3.906 kB / 322.8 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.497, allocations: 0 / 322.8 MB, free: 8.305 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/1.497, allocations: 318.8 kB / 323.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/1.497, allocations: 12.89 kB / 323.1 MB, free: 7.973 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/1.497, allocations: 19 kB / 323.1 MB, free: 7.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/1.498, allocations: 37.61 kB / 323.2 MB, free: 7.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.498, allocations: 0 / 323.2 MB, free: 7.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001389/1.498, allocations: 61.61 kB / 323.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.498, allocations: 5.219 kB / 323.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.498, allocations: 4 kB / 323.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.498, allocations: 0.5312 kB / 323.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/1.498, allocations: 10.97 kB / 323.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.498, allocations: 0 / 323.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/1.498, allocations: 7.984 kB / 323.3 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.498, allocations: 3.938 kB / 323.3 MB, free: 7.816 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.079e-05/1.498, allocations: 125.7 kB / 323.4 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/1.498, allocations: 38.58 kB / 323.4 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/1.498, allocations: 15.86 kB / 323.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.498, allocations: 0 / 323.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.498, allocations: 1.312 kB / 323.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.498, allocations: 4 kB / 323.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/1.498, allocations: 169.6 kB / 323.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.498, allocations: 2.75 kB / 323.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/1.498, allocations: 4 kB / 323.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.498, allocations: 7.984 kB / 323.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/1.498, allocations: 3.984 kB / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.498, allocations: 0 / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.498, allocations: 0 / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/1.499, allocations: 166.9 kB / 323.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/1.499, allocations: 93 kB / 323.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/1.499, allocations: 4.375 kB / 323.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/1.499, allocations: 11.98 kB / 323.9 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/1.499, allocations: 0 / 323.9 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.499, allocations: 0 / 323.9 MB, free: 7.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.214e-05/1.499, allocations: 107.2 kB / 324 MB, free: 6.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.499, allocations: 0 / 324 MB, free: 6.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001931/1.499, allocations: 4 kB / 324 MB, free: 6.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 8.35e-05/1.499, allocations: 103.2 kB / 324.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/1.499, allocations: 31.92 kB / 324.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.499, allocations: 4 kB / 324.2 MB, free: 6.828 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/1.499, allocations: 8 kB / 324.2 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/1.5, allocations: 23.89 kB / 324.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/1.5, allocations: 193.4 kB / 324.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/1.5, allocations: 0.6887 MB / 325.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.481e-05/1.5, allocations: 0 / 325.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/1.5, allocations: 15.44 kB / 325.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of SimCode: time 3.31e-07/1.5, allocations: 3.938 kB / 325.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of Templates: time 0.002101/1.502, allocations: 440.9 kB / 325.5 MB, free: 5.422 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches