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.00144/0.00144, allocations: 106.9 kB / 16.45 MB, free: 6.441 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.001266/0.001267, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.584/1.584, 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.08183/0.08183, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.001892/0.001892, allocations: 84.64 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1357, allocations: 49.41 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002294/0.138, allocations: 0.9026 MB / 444.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.1385, allocations: 139.5 kB / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1386, allocations: 0 / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1387, allocations: 11.88 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1389, allocations: 23.84 kB / 444.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1391, allocations: 39.91 kB / 444.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1393, allocations: 71.81 kB / 444.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1395, allocations: 47.91 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.1395, allocations: 31.8 kB / 444.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.1396, allocations: 31.84 kB / 444.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1397, allocations: 8 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.1397, allocations: 4 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.1398, allocations: 31.91 kB / 444.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1398, allocations: 47.67 kB / 445 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.14, allocations: 95.52 kB / 445 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.14, allocations: 0 / 445 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.14, allocations: 4 kB / 445.1 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.14, allocations: 0 / 445.1 MB, free: 15 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.0005884/0.1406, allocations: 422.8 kB / 445.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1407, allocations: 8.031 kB / 445.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1407, allocations: 16.84 kB / 445.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.141, allocations: 206.2 kB / 445.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.141, allocations: 12.38 kB / 445.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1411, allocations: 8.375 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.1416, allocations: 243.6 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1416, allocations: 192 / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1416, allocations: 7.938 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1416, allocations: 0 / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1417, allocations: 51.97 kB / 446 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.1419, allocations: 189.6 kB / 446.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1422, allocations: 150.9 kB / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1424, allocations: 88.98 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.1424, allocations: 0 / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1424, allocations: 46.48 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.836e-06/0.1424, allocations: 0 / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003313/0.1428, allocations: 173.5 kB / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1428, allocations: 63.36 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.143, allocations: 158.1 kB / 446.9 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.143, allocations: 33.7 kB / 446.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.1431, allocations: 88.45 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1431, allocations: 11.95 kB / 447 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.1432, allocations: 45.7 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1433, allocations: 318.8 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-05/0.1434, allocations: 23.98 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1435, allocations: 129.6 kB / 447.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1437, allocations: 149.5 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1437, allocations: 4 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002092/0.1439, allocations: 165.4 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1439, allocations: 8 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1439, allocations: 3.938 kB / 447.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.144, allocations: 8 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1441, allocations: 31.92 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1441, allocations: 7.984 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.1442, allocations: 12 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1442, allocations: 8 kB / 447.9 MB, free: 11.84 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.0001348/0.1443, allocations: 153.9 kB / 448 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.1445, allocations: 125.6 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.1446, allocations: 25.11 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1446, allocations: 4 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1446, allocations: 0 / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1446, allocations: 0 / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1448, allocations: 197.5 kB / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1448, allocations: 0 / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1449, allocations: 35.91 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1449, allocations: 4 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1449, allocations: 7.938 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1449, allocations: 0 / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1449, allocations: 0 / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1451, allocations: 165.6 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.1452, allocations: 101 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1453, allocations: 11.94 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.1453, allocations: 11.98 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-06/0.1453, allocations: 3.938 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1453, allocations: 4 kB / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.1454, allocations: 115.2 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 4 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1457, 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.000117/0.1458, allocations: 99.25 kB / 448.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.146, allocations: 103.8 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.146, allocations: 0 / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.146, allocations: 0 / 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.0003863/0.1464, allocations: 99.92 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.0004069/0.1469, allocations: 255.1 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1471, allocations: 0.7278 MB / 450.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.311e-05/0.1472, allocations: 9.078 kB / 450.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1472, allocations: 15.44 kB / 450.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1472, allocations: 0 / 450.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003801/0.151, allocations: 1.172 MB / 451.3 MB, free: 8.238 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