Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.642/1.642, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07931/0.07931, allocations: 12.58 MB / 283.2 MB, free: 15.4 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.001891/0.001891, allocations: 81.91 kB / 394.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1337, allocations: 49.41 MB / 443.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003121/0.1368, allocations: 0.9025 MB / 444.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000562/0.1374, allocations: 139.6 kB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1376, allocations: 4 kB / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.1378, allocations: 15.8 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.138, allocations: 19.91 kB / 444.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1383, allocations: 43.91 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1384, allocations: 75.75 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1386, allocations: 47.91 kB / 444.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.1387, allocations: 27.86 kB / 444.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1388, allocations: 35.83 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1388, allocations: 8 kB / 444.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.1388, allocations: 4 kB / 444.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.1389, allocations: 31.92 kB / 444.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.139, allocations: 47.67 kB / 445 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1392, allocations: 99.52 kB / 445.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1392, allocations: 0 / 445.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1392, allocations: 0 / 445.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1392, allocations: 0 / 445.1 MB, free: 14.99 MB / 334.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.0006061/0.1398, allocations: 411 kB / 445.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1399, allocations: 8.031 kB / 445.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1399, allocations: 12.84 kB / 445.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1402, allocations: 222 kB / 445.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1402, allocations: 12.36 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1402, allocations: 4.375 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.1407, allocations: 235.6 kB / 445.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1407, allocations: 4.188 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1407, allocations: 7.938 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1407, allocations: 0 / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.1408, allocations: 59.83 kB / 446 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.141, allocations: 185.6 kB / 446.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.1413, allocations: 146.9 kB / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1415, allocations: 92.81 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1415, allocations: 288 / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1415, allocations: 34.56 kB / 446.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.1415, allocations: 0 / 446.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003868/0.1419, allocations: 181.3 kB / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.142, allocations: 63.34 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1422, allocations: 166 kB / 446.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1423, allocations: 37.7 kB / 446.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1424, allocations: 84.47 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1424, allocations: 11.98 kB / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1425, allocations: 45.61 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1426, allocations: 318.8 kB / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1427, allocations: 23.98 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1428, allocations: 117.7 kB / 447.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.143, allocations: 157.5 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.143, allocations: 4 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002139/0.1432, allocations: 157.2 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1432, allocations: 8 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1432, allocations: 3.938 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1433, allocations: 8 kB / 447.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1434, allocations: 31.92 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1434, allocations: 4.5 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.1435, allocations: 27.78 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1435, allocations: 8 kB / 447.9 MB, free: 11.83 MB / 334.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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001333/0.1436, allocations: 141.8 kB / 448 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.1438, allocations: 134.1 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1439, allocations: 21.11 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1439, allocations: 4 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1439, allocations: 0 / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1439, allocations: 4 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1441, allocations: 197.4 kB / 448.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1441, allocations: 0 / 448.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1442, allocations: 23.98 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1442, allocations: 4 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1442, allocations: 7.938 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1442, allocations: 0 / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1442, allocations: 0 / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1445, allocations: 172.9 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.1446, allocations: 108.9 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1446, allocations: 7.938 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.1447, allocations: 4 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-06/0.1447, allocations: 3.984 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1447, allocations: 4 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.1448, allocations: 123.2 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.145, allocations: 16 kB / 448.8 MB, free: 10.77 MB / 334.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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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 0.0001158/0.1452, allocations: 107.2 kB / 449 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1454, allocations: 95.83 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1454, allocations: 0 / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1454, allocations: 1 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1458, allocations: 99.86 kB / 449.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1463, allocations: 254.4 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1466, allocations: 0.7239 MB / 450.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.1466, allocations: 9.094 kB / 450.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1467, allocations: 11.44 kB / 450.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1467, allocations: 0 / 450.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of Templates: time 0.003767/0.1504, allocations: 1.172 MB / 451.3 MB, free: 8.246 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches