Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.0007813/0.0007813, allocations: 96.28 kB / 16.04 MB, free: 5.297 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.08101/0.08101, allocations: 12.64 MB / 29.42 MB, free: 5.938 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001792/0.0001793, allocations: 4 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005699/0.005893, allocations: 2.832 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.BooleanSignals.SampleVectorizedAndClocked): time 1.619/1.624, allocations: 277.5 MB / 320.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/1.625, allocations: 135.6 kB / 320.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/1.625, allocations: 4 kB / 320.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/1.625, allocations: 7.922 kB / 320.8 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/1.625, allocations: 7.984 kB / 320.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/1.626, allocations: 27.92 kB / 320.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/1.626, allocations: 43.78 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/1.626, allocations: 30.02 kB / 320.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/1.626, allocations: 11.94 kB / 320.9 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/1.626, allocations: 15.92 kB / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/1.626, allocations: 0 / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/1.626, allocations: 1.594 kB / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/1.626, allocations: 15.92 kB / 320.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/1.626, allocations: 53.5 kB / 321 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/1.626, allocations: 47.75 kB / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.626, allocations: 0.875 kB / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.626, allocations: 0 / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/1.626, allocations: 0 / 321 MB, free: 10.35 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.0004457/1.627, allocations: 358.3 kB / 321.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.627, allocations: 12.03 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/1.627, allocations: 8.844 kB / 321.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/1.627, allocations: 204 kB / 321.6 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.627, allocations: 4.375 kB / 321.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.627, allocations: 1.125 kB / 321.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/1.627, allocations: 125.7 kB / 321.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.627, allocations: 192 / 321.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.627, allocations: 3.938 kB / 321.7 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/1.627, allocations: 0 / 321.7 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/1.627, allocations: 30.77 kB / 321.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/1.628, allocations: 365.4 kB / 322.1 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/1.628, allocations: 79.72 kB / 322.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/1.628, allocations: 39.78 kB / 322.2 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/1.628, allocations: 1.219 kB / 322.2 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.628, allocations: 39.59 kB / 322.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.628, allocations: 0 / 322.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003149/1.628, allocations: 108.2 kB / 322.4 MB, free: 8.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/1.629, allocations: 107.8 kB / 322.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.629, allocations: 137.7 kB / 322.6 MB, free: 8.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.629, allocations: 26.98 kB / 322.6 MB, free: 8.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/1.629, allocations: 92.12 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/1.629, allocations: 0 / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/1.629, allocations: 0.625 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/1.629, allocations: 322 kB / 323 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/1.629, allocations: 15.98 kB / 323.1 MB, free: 8.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/1.629, allocations: 35.42 kB / 323.1 MB, free: 8.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/1.629, allocations: 63.48 kB / 323.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.629, allocations: 0 / 323.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002122/1.629, allocations: 82.36 kB / 323.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.629, allocations: 5.438 kB / 323.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.629, allocations: 4 kB / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.629, allocations: 0 / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/1.629, allocations: 0 / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.629, allocations: 6.625 kB / 323.2 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/1.63, allocations: 8.078 kB / 323.3 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/1.63, allocations: 0 / 323.3 MB, free: 7.844 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[1],sample.u[2],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.0001527/1.63, allocations: 129.7 kB / 323.4 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/1.63, allocations: 62.27 kB / 323.4 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/1.63, allocations: 11.86 kB / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.63, allocations: 0.9688 kB / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.63, allocations: 7.938 kB / 323.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.63, allocations: 0 / 323.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/1.63, allocations: 174.3 kB / 323.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.63, allocations: 0 / 323.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-06/1.63, allocations: 0.5312 kB / 323.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.63, allocations: 8 kB / 323.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.63, allocations: 4 kB / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.63, allocations: 0 / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.63, allocations: 3.938 kB / 323.6 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/1.63, allocations: 267.4 kB / 323.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/1.63, allocations: 93 kB / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/1.63, allocations: 4 kB / 324 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/1.631, allocations: 0 / 324 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/1.631, allocations: 4 kB / 324 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.631, allocations: 3.984 kB / 324 MB, free: 6.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/1.631, allocations: 107.8 kB / 324.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.631, allocations: 0 / 324.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002264/1.631, allocations: 8 kB / 324.1 MB, free: 6.867 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[1],sample.u[2],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 0.0001052/1.631, allocations: 108.3 kB / 324.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/1.631, allocations: 39.91 kB / 324.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.631, allocations: 0 / 324.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/1.631, allocations: 24.23 kB / 324.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/1.632, allocations: 28.02 kB / 324.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/1.632, allocations: 198.2 kB / 324.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.632, allocations: 0.6966 MB / 325.2 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/1.632, allocations: 11.89 kB / 325.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/1.632, allocations: 11.44 kB / 325.2 MB, free: 5.691 MB / 250.7 MB Notification: Performance of SimCode: time 3.01e-07/1.632, allocations: 0 / 325.2 MB, free: 5.691 MB / 250.7 MB Notification: Performance of Templates: time 0.00259/1.635, allocations: 0.5531 MB / 325.8 MB, free: 5.145 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches