Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 93.27 kB / 16.04 MB, free: 5.742 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.09807/0.09807, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001654/0.0001656, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005365/0.005548, allocations: 2.82 MB / 43.1 MB, free: 6.07 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.IntegerSignals.SampleVectorizedAndClocked): time 1.507/1.513, allocations: 277.5 MB / 320.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000412/1.513, allocations: 140.1 kB / 320.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/1.513, allocations: 4.562 kB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/1.513, allocations: 3.938 kB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/1.514, allocations: 9.75 kB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/1.514, allocations: 35.89 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/1.514, allocations: 35.86 kB / 320.9 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/1.514, allocations: 25.73 kB / 320.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/1.514, allocations: 11.92 kB / 320.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/1.514, allocations: 16.38 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/1.514, allocations: 4 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/1.514, allocations: 0.5938 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/1.514, allocations: 19.03 kB / 320.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/1.514, allocations: 53.52 kB / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/1.514, allocations: 58.67 kB / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.514, allocations: 0 / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.514, allocations: 3.938 kB / 321 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/1.514, allocations: 0 / 321 MB, free: 10.29 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.0004793/1.515, allocations: 367.9 kB / 321.4 MB, free: 9.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.515, allocations: 11.16 kB / 321.4 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/1.515, allocations: 8.844 kB / 321.4 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/1.515, allocations: 197.7 kB / 321.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.515, allocations: 384 / 321.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/1.515, allocations: 4.375 kB / 321.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/1.516, allocations: 128.2 kB / 321.7 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.516, allocations: 2.812 kB / 321.8 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/1.516, allocations: 7.938 kB / 321.8 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.516, allocations: 3.984 kB / 321.8 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/1.516, allocations: 44.53 kB / 321.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/1.516, allocations: 378.5 kB / 322.2 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.516, allocations: 85.66 kB / 322.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/1.516, allocations: 39.12 kB / 322.3 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.516, allocations: 12.66 kB / 322.3 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.517, allocations: 40.84 kB / 322.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/1.517, allocations: 0 / 322.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003886/1.517, allocations: 112.8 kB / 322.5 MB, free: 8.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/1.517, allocations: 119.4 kB / 322.6 MB, free: 8.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.517, allocations: 144.2 kB / 322.7 MB, free: 8.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.517, allocations: 25.7 kB / 322.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/1.517, allocations: 92.12 kB / 322.8 MB, free: 8.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/1.517, allocations: 5.75 kB / 322.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.517, allocations: 0 / 322.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/1.517, allocations: 318.8 kB / 323.1 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/1.517, allocations: 20.7 kB / 323.2 MB, free: 7.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/1.517, allocations: 45.28 kB / 323.2 MB, free: 7.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/1.518, allocations: 72.75 kB / 323.3 MB, free: 7.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.518, allocations: 3.938 kB / 323.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001652/1.518, allocations: 85.05 kB / 323.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.518, allocations: 8 kB / 323.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.518, allocations: 0 / 323.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.518, allocations: 0 / 323.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/1.518, allocations: 19.92 kB / 323.4 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.518, allocations: 0.625 kB / 323.4 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/1.518, allocations: 17.3 kB / 323.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/1.518, allocations: 3.938 kB / 323.4 MB, free: 7.656 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: 4 (sample.u[2],sample.u[1],sample.y[2],sample.y[1]) * 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 0.0001244/1.518, allocations: 130.2 kB / 323.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/1.518, allocations: 53.59 kB / 323.6 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/1.518, allocations: 7.875 kB / 323.6 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.518, allocations: 7.984 kB / 323.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.518, allocations: 0 / 323.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.518, allocations: 0 / 323.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.519, allocations: 181.5 kB / 323.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.519, allocations: 0 / 323.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/1.519, allocations: 15.92 kB / 323.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.519, allocations: 8.031 kB / 323.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/1.519, allocations: 0 / 323.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.519, allocations: 0 / 323.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.519, allocations: 4 kB / 323.8 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.519, allocations: 275.4 kB / 324.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/1.519, allocations: 89.09 kB / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/1.519, allocations: 0 / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.519, allocations: 11.97 kB / 324.2 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/1.519, allocations: 4 kB / 324.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.519, allocations: 3.938 kB / 324.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/1.519, allocations: 117 kB / 324.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.519, allocations: 4 kB / 324.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002333/1.52, allocations: 7.906 kB / 324.3 MB, free: 6.648 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: 4 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 9.323e-05/1.52, allocations: 103.2 kB / 324.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/1.52, allocations: 56.09 kB / 324.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.52, allocations: 0 / 324.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/1.52, allocations: 23.98 kB / 324.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/1.52, allocations: 23.95 kB / 324.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/1.521, allocations: 210.6 kB / 324.7 MB, free: 6.199 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/1.521, allocations: 0.6926 MB / 325.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.383e-05/1.521, allocations: 8 kB / 325.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/1.521, allocations: 11.42 kB / 325.4 MB, free: 5.461 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/1.521, allocations: 0 / 325.4 MB, free: 5.461 MB / 250.7 MB Notification: Performance of Templates: time 0.00255/1.524, allocations: 0.552 MB / 326 MB, free: 4.918 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches