Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007323/0.000732, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007746/0.0007745, allocations: 181.7 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05941/0.05941, allocations: 12.61 MB / 284 MB, free: 8.578 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006256/0.0006256, allocations: 19.98 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07274/0.07337, allocations: 50.38 MB / 395.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001127/0.07454, allocations: 0.6187 MB / 396.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.07487, allocations: 139.6 kB / 396.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.07496, allocations: 4 kB / 396.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.07505, allocations: 7.938 kB / 396.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.07514, allocations: 7.922 kB / 396.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.07536, allocations: 31.97 kB / 396.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.07546, allocations: 63.78 kB / 396.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.07558, allocations: 44.48 kB / 396.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.07561, allocations: 15.91 kB / 396.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.07565, allocations: 27.8 kB / 396.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.07567, allocations: 0 / 396.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.07569, allocations: 4 kB / 396.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.07576, allocations: 19.92 kB / 396.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.07585, allocations: 53.44 kB / 396.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.07595, allocations: 71.7 kB / 396.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.07596, allocations: 0 / 396.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07597, allocations: 0 / 396.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.07597, allocations: 4 kB / 396.7 MB, free: 1.312 MB / 286.1 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.0003708/0.07635, allocations: 375.2 kB / 397 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.07639, allocations: 15.97 kB / 397 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.07643, allocations: 16.75 kB / 397.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.07661, allocations: 204 kB / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.07663, allocations: 8.375 kB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.07665, allocations: 12.38 kB / 397.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.07701, allocations: 227.4 kB / 397.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.07703, allocations: 192 / 397.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.07704, allocations: 7.938 kB / 397.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.07705, allocations: 4 kB / 397.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.07713, allocations: 31.98 kB / 397.5 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.07727, allocations: 185.6 kB / 397.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.07749, allocations: 130.6 kB / 397.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.0776, allocations: 81.09 kB / 397.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.07761, allocations: 0 / 397.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.07764, allocations: 42.48 kB / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.07765, allocations: 8 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002678/0.07792, allocations: 157.3 kB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.07799, allocations: 59.41 kB / 398.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.07811, allocations: 145 kB / 398.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.07813, allocations: 25.7 kB / 398.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.07817, allocations: 88.45 kB / 398.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.07819, allocations: 11.91 kB / 398.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.07828, allocations: 29.7 kB / 398.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.07842, allocations: 322.8 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.07846, allocations: 19.98 kB / 398.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-05/0.07856, allocations: 109.7 kB / 398.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.0787, allocations: 165.4 kB / 399.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.07871, allocations: 4 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.07891, allocations: 145.7 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.07894, allocations: 11.97 kB / 399.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.07895, allocations: 8 kB / 399.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.07897, allocations: 4 kB / 399.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.079, allocations: 11.92 kB / 399.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.07901, allocations: 11.92 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.07908, allocations: 19.84 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.0791, allocations: 8 kB / 399.3 MB, free: 14.33 MB / 302.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,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.0001169/0.07922, allocations: 137.8 kB / 399.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.07937, allocations: 125.5 kB / 399.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.07941, allocations: 13.19 kB / 399.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.07942, allocations: 4 kB / 399.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.07943, allocations: 0 / 399.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.07944, allocations: 0 / 399.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.07955, allocations: 185.5 kB / 399.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.07956, allocations: 3.984 kB / 399.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.07958, allocations: 7.984 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.07959, allocations: 3.938 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.07961, allocations: 4 kB / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.07961, allocations: 11.94 kB / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.07962, allocations: 0 / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.07983, allocations: 145.7 kB / 399.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.0799, allocations: 104.8 kB / 400 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.07992, allocations: 7.938 kB / 400 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.07995, allocations: 8 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.07996, allocations: 0 / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-06/0.07997, allocations: 4 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.08004, allocations: 112.2 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08005, allocations: 3.938 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.08027, allocations: 16 kB / 400.2 MB, free: 13.35 MB / 302.1 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.075e-05/0.08037, allocations: 103.8 kB / 400.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.08056, allocations: 88.72 kB / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.08057, allocations: 4.125 kB / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.08058, allocations: 0 / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.08094, allocations: 87.95 kB / 400.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.08132, allocations: 255.3 kB / 400.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.0816, allocations: 0.7126 MB / 401.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.08164, allocations: 4.656 kB / 401.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.08168, allocations: 15.44 kB / 401.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.08168, allocations: 0 / 401.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Templates: time 0.003212/0.0849, allocations: 0.9416 MB / 402.4 MB, free: 11.08 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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