Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007014/0.0007014, allocations: 93.27 kB / 16.04 MB, free: 5.738 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.07112/0.07112, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001591/0.0001592, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005428/0.005601, allocations: 2.835 MB / 43.11 MB, free: 6.059 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.Sample1): time 1.444/1.449, allocations: 277.6 MB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/1.45, allocations: 441.1 kB / 321.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/1.45, allocations: 6 kB / 321.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/1.45, allocations: 3.938 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/1.45, allocations: 11.91 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/1.451, allocations: 39.91 kB / 321.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.044e-05/1.451, allocations: 35.92 kB / 321.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/1.451, allocations: 27 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/1.451, allocations: 19.91 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/1.451, allocations: 19.81 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/1.451, allocations: 4 kB / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/1.451, allocations: 0 / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/1.451, allocations: 15.45 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/1.451, allocations: 49.52 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.066e-05/1.451, allocations: 54.73 kB / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.451, allocations: 0 / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.451, allocations: 0 / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/1.451, allocations: 0 / 321.4 MB, free: 9.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004112/1.452, allocations: 355.3 kB / 321.7 MB, free: 9.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.452, allocations: 8.031 kB / 321.7 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/1.452, allocations: 12.41 kB / 321.8 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/1.452, allocations: 192.1 kB / 321.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/1.452, allocations: 384 / 321.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.452, allocations: 8.312 kB / 321.9 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/1.452, allocations: 126 kB / 322.1 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.452, allocations: 4.531 kB / 322.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.452, allocations: 8.609 kB / 322.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.452, allocations: 0 / 322.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/1.452, allocations: 26.11 kB / 322.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/1.453, allocations: 271.4 kB / 322.4 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/1.453, allocations: 132.1 kB / 322.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/1.453, allocations: 34.45 kB / 322.5 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.453, allocations: 14.14 kB / 322.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/1.453, allocations: 30.56 kB / 322.6 MB, free: 8.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.453, allocations: 0 / 322.6 MB, free: 8.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002367/1.453, allocations: 91.19 kB / 322.7 MB, free: 8.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.453, allocations: 79.14 kB / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.453, allocations: 133.8 kB / 322.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/1.453, allocations: 29.7 kB / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/1.453, allocations: 92.03 kB / 323 MB, free: 8.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/1.453, allocations: 4.656 kB / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/1.453, allocations: 0 / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/1.453, allocations: 317.5 kB / 323.3 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/1.454, allocations: 15.98 kB / 323.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/1.454, allocations: 41.08 kB / 323.4 MB, free: 7.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/1.454, allocations: 49.08 kB / 323.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.454, allocations: 0.875 kB / 323.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/1.454, allocations: 75.47 kB / 323.5 MB, free: 7.594 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.454, allocations: 4.625 kB / 323.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.454, allocations: 0.75 kB / 323.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.454, allocations: 4 kB / 323.5 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/1.454, allocations: 12.61 kB / 323.5 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.454, allocations: 1.875 kB / 323.5 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/1.454, allocations: 8 kB / 323.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.454, allocations: 4 kB / 323.5 MB, free: 7.562 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.456e-05/1.454, allocations: 131 kB / 323.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/1.454, allocations: 49.55 kB / 323.7 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/1.454, allocations: 8.234 kB / 323.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.454, allocations: 4 kB / 323.7 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.454, allocations: 5.969 kB / 323.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.454, allocations: 0 / 323.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/1.454, allocations: 177.5 kB / 323.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.454, allocations: 0 / 323.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/1.454, allocations: 11.98 kB / 323.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.454, allocations: 1.375 kB / 323.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.454, allocations: 4 kB / 323.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.454, allocations: 0 / 323.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.454, allocations: 4 kB / 323.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/1.455, allocations: 181.5 kB / 324.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/1.455, allocations: 97 kB / 324.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/1.455, allocations: 0 / 324.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/1.455, allocations: 4 kB / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/1.455, allocations: 3.984 kB / 324.2 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/1.455, allocations: 0 / 324.2 MB, free: 6.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.888e-05/1.455, allocations: 111.2 kB / 324.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.455, allocations: 0 / 324.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001922/1.455, allocations: 8 kB / 324.3 MB, free: 6.672 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 (4): * Single equations (assignments): 4 * 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.316e-05/1.455, allocations: 99.23 kB / 324.4 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/1.455, allocations: 43.92 kB / 324.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.455, allocations: 256 / 324.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/1.455, allocations: 12 kB / 324.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/1.456, allocations: 27.95 kB / 324.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/1.456, allocations: 197.2 kB / 324.7 MB, free: 6.262 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.456, allocations: 0.6965 MB / 325.4 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.542e-05/1.456, allocations: 3.938 kB / 325.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/1.456, allocations: 11.44 kB / 325.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of SimCode: time 2.9e-07/1.456, allocations: 0 / 325.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of Templates: time 0.002088/1.458, allocations: 0.4887 MB / 325.9 MB, free: 5.043 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches