Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009139, 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.000942/0.0009421, allocations: 181.6 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.235/1.235, allocations: 205.4 MB / 223.1 MB, free: 5.727 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.06346/0.06346, allocations: 12.61 MB / 284 MB, free: 8.812 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.0006466/0.0006468, allocations: 27.98 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07401/0.07466, allocations: 50.38 MB / 395.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001203/0.0759, allocations: 0.7528 MB / 396.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.07627, allocations: 131.6 kB / 396.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.07638, allocations: 0 / 396.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.192e-05/0.07648, allocations: 11.86 kB / 396.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.07659, allocations: 7.938 kB / 396.5 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.07682, allocations: 39.95 kB / 396.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.07694, allocations: 63.78 kB / 396.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.07705, allocations: 39.97 kB / 396.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.07709, allocations: 15.88 kB / 396.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.07714, allocations: 27.84 kB / 396.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.07716, allocations: 0 / 396.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.07717, allocations: 4 kB / 396.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.07723, allocations: 19.92 kB / 396.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.0773, allocations: 65.38 kB / 396.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.0774, allocations: 79.92 kB / 396.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.07741, allocations: 0 / 396.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.07742, allocations: 0 / 396.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.07743, allocations: 0 / 396.8 MB, free: 1.191 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.0003788/0.07781, allocations: 395 kB / 397.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.07785, allocations: 12.03 kB / 397.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.07789, allocations: 8.844 kB / 397.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.07806, allocations: 208.6 kB / 397.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.07808, allocations: 8.375 kB / 397.4 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.0781, allocations: 8.375 kB / 397.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.07844, allocations: 226.8 kB / 397.6 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.07845, allocations: 0 / 397.6 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.07847, allocations: 8 kB / 397.7 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.07848, allocations: 4 kB / 397.7 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.07855, allocations: 31.92 kB / 397.7 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.0787, allocations: 193.6 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.07889, allocations: 122.6 kB / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.079, allocations: 85.08 kB / 398.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.07902, allocations: 4 kB / 398.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.07904, allocations: 38.48 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.41e-07/0.07905, allocations: 0 / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002453/0.0793, allocations: 153.6 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.07936, allocations: 63.41 kB / 398.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.07947, allocations: 142.4 kB / 398.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.07949, allocations: 29.7 kB / 398.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.07953, allocations: 88.47 kB / 398.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.07956, allocations: 11.98 kB / 398.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.07959, allocations: 17.72 kB / 398.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.07969, allocations: 322.8 kB / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.07972, allocations: 23.98 kB / 399 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.07981, allocations: 128.7 kB / 399.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.07995, allocations: 149.5 kB / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07996, allocations: 0 / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001917/0.08015, allocations: 165.2 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.08017, allocations: 4 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.08019, allocations: 7.938 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.0802, allocations: 8 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.08031, allocations: 27.98 kB / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.08032, allocations: 7.938 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.08038, allocations: 16.28 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.0804, allocations: 12 kB / 399.5 MB, free: 14.18 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: 0 () * 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 8.32e-05/0.08049, allocations: 137.7 kB / 399.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.08063, allocations: 117.5 kB / 399.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.08067, allocations: 17.17 kB / 399.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.08068, allocations: 4 kB / 399.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.08069, allocations: 0 / 399.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0807, allocations: 0 / 399.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.08081, allocations: 193.4 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.08082, allocations: 4 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.08091, allocations: 31.92 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.08092, allocations: 3.938 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.08093, allocations: 4 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.08093, allocations: 0 / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.08094, allocations: 4 kB / 400 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.08111, allocations: 145.6 kB / 400.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.08117, allocations: 108.8 kB / 400.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.0812, allocations: 0 / 400.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.08123, allocations: 12 kB / 400.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-06/0.08124, allocations: 0 / 400.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.08125, allocations: 7.938 kB / 400.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.08132, allocations: 112 kB / 400.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08133, allocations: 0 / 400.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.08154, allocations: 20 kB / 400.4 MB, free: 13.18 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: 0 () * 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 8.095e-05/0.08163, allocations: 99.17 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.08178, allocations: 88.22 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08179, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.0818, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.08213, allocations: 84.44 kB / 400.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.08248, allocations: 272.4 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.08273, allocations: 0.7126 MB / 401.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.719e-05/0.08276, allocations: 4.656 kB / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.08279, allocations: 23.44 kB / 401.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.673e-06/0.0828, allocations: 0 / 401.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Templates: time 0.002762/0.08556, allocations: 0.9182 MB / 402.6 MB, free: 10.92 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches