Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000737/0.0007369, allocations: 95.23 kB / 16.04 MB, free: 5.219 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.08377/0.08377, allocations: 12.63 MB / 29.41 MB, free: 5.879 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.000191/0.000191, allocations: 4 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005288/0.005493, allocations: 2.83 MB / 43.11 MB, free: 5.945 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.SampleWithADeffects): time 1.513/1.519, allocations: 277.8 MB / 320.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/1.52, allocations: 0.8616 MB / 321.8 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/1.52, allocations: 4 kB / 321.8 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/1.52, allocations: 11.86 kB / 321.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/1.521, allocations: 19.86 kB / 321.8 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/1.521, allocations: 138.2 kB / 322 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/1.521, allocations: 139.6 kB / 322.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/1.521, allocations: 86.88 kB / 322.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/1.522, allocations: 49.73 kB / 322.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.522, allocations: 51.69 kB / 322.3 MB, free: 9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/1.522, allocations: 4 kB / 322.3 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/1.522, allocations: 35.97 kB / 322.3 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/1.522, allocations: 41.53 kB / 322.4 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/1.522, allocations: 85.23 kB / 322.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/1.522, allocations: 175.4 kB / 322.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.522, allocations: 0 / 322.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/1.522, allocations: 0 / 322.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/1.522, allocations: 6.188 kB / 322.6 MB, free: 8.656 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006719/1.523, allocations: 447.7 kB / 323.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.523, allocations: 12.7 kB / 323.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/1.523, allocations: 16.75 kB / 323.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/1.523, allocations: 242.9 kB / 323.3 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.523, allocations: 8.562 kB / 323.3 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/1.523, allocations: 16.12 kB / 323.3 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/1.524, allocations: 339.1 kB / 323.7 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.524, allocations: 0 / 323.7 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.524, allocations: 4.719 kB / 323.7 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.524, allocations: 4 kB / 323.7 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/1.524, allocations: 99.5 kB / 323.8 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/1.525, allocations: 346.3 kB / 324.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/1.525, allocations: 285.3 kB / 324.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.525, allocations: 101.7 kB / 324.5 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/1.526, allocations: 0.5827 MB / 325.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.526, allocations: 39.72 kB / 325.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/1.526, allocations: 0 / 325.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.000573/1.526, allocations: 250.6 kB / 325.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/1.527, allocations: 122.7 kB / 325.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/1.527, allocations: 191.9 kB / 325.7 MB, free: 5.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.527, allocations: 29.7 kB / 325.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/1.527, allocations: 104.6 kB / 325.8 MB, free: 5.109 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/1.527, allocations: 23.8 kB / 325.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.527, allocations: 4 kB / 325.8 MB, free: 5.082 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.527, allocations: 326.8 kB / 326.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/1.527, allocations: 39.97 kB / 326.2 MB, free: 4.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/1.527, allocations: 163.6 kB / 326.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/1.527, allocations: 216 kB / 326.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.527, allocations: 0 / 326.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003147/1.528, allocations: 221 kB / 326.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.528, allocations: 4 kB / 326.8 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.528, allocations: 7.984 kB / 326.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.528, allocations: 8 kB / 326.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.528, allocations: 40.52 kB / 326.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.528, allocations: 15.94 kB / 326.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.528, allocations: 19.89 kB / 326.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.528, allocations: 11.94 kB / 326.9 MB, free: 3.898 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001308/1.528, allocations: 164.2 kB / 327 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.529, allocations: 169.9 kB / 327.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/1.529, allocations: 191.3 kB / 327.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.529, allocations: 8 kB / 327.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.529, allocations: 0 / 327.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.529, allocations: 0 / 327.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/1.529, allocations: 233.4 kB / 327.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.529, allocations: 0 / 327.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/1.529, allocations: 43.84 kB / 327.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.529, allocations: 0 / 327.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.529, allocations: 8 kB / 327.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.529, allocations: 0 / 327.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.529, allocations: 0 / 327.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/1.53, allocations: 297.6 kB / 328 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/1.53, allocations: 120.8 kB / 328.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/1.53, allocations: 8 kB / 328.1 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.53, allocations: 15.98 kB / 328.1 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/1.53, allocations: 7.938 kB / 328.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/1.53, allocations: 7.984 kB / 328.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001072/1.53, allocations: 140.4 kB / 328.3 MB, free: 2.402 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.53, allocations: 0 / 328.3 MB, free: 2.402 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000273/1.531, allocations: 32 kB / 328.3 MB, free: 2.371 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: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001892/1.531, allocations: 111.2 kB / 328.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/1.531, allocations: 149.4 kB / 328.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.531, allocations: 4 kB / 328.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/1.531, allocations: 16 kB / 328.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/1.532, allocations: 145.9 kB / 328.7 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/1.532, allocations: 398.8 kB / 329.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/1.533, allocations: 0.7363 MB / 329.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/1.533, allocations: 17.55 kB / 329.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/1.533, allocations: 15.44 kB / 329.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/1.533, allocations: 0 / 329.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of Templates: time 0.005015/1.538, allocations: 2.207 MB / 332.1 MB, free: 14.54 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches