Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 93.61 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.08028/0.08028, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001762/0.0001762, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005527/0.00572, allocations: 2.828 MB / 43.11 MB, free: 6.062 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.AssignClockVectorized): time 1.612/1.617, allocations: 276.9 MB / 320 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000252/1.618, allocations: 127.6 kB / 320.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/1.618, allocations: 5.406 kB / 320.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/1.618, allocations: 7.922 kB / 320.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/1.618, allocations: 3.938 kB / 320.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/1.618, allocations: 47.89 kB / 320.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/1.618, allocations: 56.56 kB / 320.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/1.618, allocations: 55.5 kB / 320.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/1.618, allocations: 23.86 kB / 320.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.645e-05/1.618, allocations: 23.86 kB / 320.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/1.618, allocations: 0 / 320.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/1.618, allocations: 4 kB / 320.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/1.618, allocations: 11.92 kB / 320.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/1.618, allocations: 62.81 kB / 320.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.149e-05/1.618, allocations: 71.69 kB / 320.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.618, allocations: 7.938 kB / 320.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/1.618, allocations: 0 / 320.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/1.619, allocations: 2.219 kB / 320.5 MB, free: 10.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002845/1.619, allocations: 367.2 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.503e-05/1.619, allocations: 12.03 kB / 320.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/1.619, allocations: 12.83 kB / 320.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/1.619, allocations: 201.8 kB / 321.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/1.619, allocations: 8.375 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.619, allocations: 8.375 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/1.619, allocations: 225.8 kB / 321.3 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-06/1.619, allocations: 192 / 321.3 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/1.619, allocations: 3.938 kB / 321.3 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.619, allocations: 3.984 kB / 321.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/1.619, allocations: 47.84 kB / 321.4 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/1.62, allocations: 182.2 kB / 321.6 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/1.62, allocations: 127.6 kB / 321.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.62, allocations: 84.77 kB / 321.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/1.62, allocations: 3.938 kB / 321.8 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/1.62, allocations: 30.56 kB / 321.8 MB, free: 9.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/1.62, allocations: 0 / 321.8 MB, free: 9.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000221/1.62, allocations: 161.3 kB / 322 MB, free: 9.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.62, allocations: 60.88 kB / 322 MB, free: 9.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/1.62, allocations: 141.7 kB / 322.2 MB, free: 9.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.62, allocations: 29.7 kB / 322.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/1.62, allocations: 89.31 kB / 322.3 MB, free: 8.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/1.62, allocations: 8.734 kB / 322.3 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-06/1.62, allocations: 4 kB / 322.3 MB, free: 8.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/1.621, allocations: 320.2 kB / 322.6 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/1.621, allocations: 19.98 kB / 322.6 MB, free: 8.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/1.621, allocations: 121.3 kB / 322.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.621, allocations: 151.8 kB / 322.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.621, allocations: 0 / 322.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001942/1.621, allocations: 155.2 kB / 323 MB, free: 8.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.621, allocations: 11.94 kB / 323 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.621, allocations: 6.938 kB / 323.1 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/1.621, allocations: 4 kB / 323.1 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.459e-05/1.621, allocations: 11.92 kB / 323.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.621, allocations: 11.94 kB / 323.1 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/1.621, allocations: 8 kB / 323.1 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/1.621, allocations: 12 kB / 323.1 MB, free: 7.957 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001234/1.621, allocations: 147.7 kB / 323.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.622, allocations: 121.4 kB / 323.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/1.622, allocations: 13.19 kB / 323.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.622, allocations: 4.5 kB / 323.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.622, allocations: 0 / 323.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.622, allocations: 4 kB / 323.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/1.622, allocations: 185.6 kB / 323.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.622, allocations: 0 / 323.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/1.622, allocations: 4 kB / 323.6 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.622, allocations: 7.875 kB / 323.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/1.622, allocations: 3.984 kB / 323.6 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.622, allocations: 4 kB / 323.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.622, allocations: 3.938 kB / 323.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/1.622, allocations: 153.5 kB / 323.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/1.622, allocations: 100.9 kB / 323.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/1.622, allocations: 11.92 kB / 323.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/1.622, allocations: 4 kB / 323.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-06/1.622, allocations: 0 / 323.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/1.622, allocations: 4 kB / 323.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/1.622, allocations: 107.5 kB / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/1.622, allocations: 0 / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001972/1.622, allocations: 20 kB / 324 MB, free: 6.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.966e-05/1.623, allocations: 119.2 kB / 324.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/1.623, allocations: 87.78 kB / 324.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.623, allocations: 0 / 324.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-07/1.623, allocations: 5 kB / 324.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/1.623, allocations: 79.94 kB / 324.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/1.623, allocations: 247.4 kB / 324.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.624, allocations: 0.7087 MB / 325.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.949e-05/1.624, allocations: 12.64 kB / 325.2 MB, free: 5.664 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/1.624, allocations: 11.44 kB / 325.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-07/1.624, allocations: 4 kB / 325.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of Templates: time 0.002677/1.626, allocations: 0.9467 MB / 326.2 MB, free: 4.711 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches