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.008566/0.00857, allocations: 97.42 kB / 15.92 MB, free: 6.273 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.001248/0.001248, allocations: 199.8 kB / 16.84 MB, free: 6.188 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.562/1.562, allocations: 205.1 MB / 222.7 MB, free: 4.73 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.08879/0.08879, allocations: 12.59 MB / 282.6 MB, free: 8.855 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.001629/0.001629, allocations: 79.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 49.4 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.003315/0.1353, allocations: 1.099 MB / 393.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004163/0.1358, allocations: 135.5 kB / 393.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1359, allocations: 0 / 393.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1361, allocations: 11.92 kB / 393.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1362, allocations: 7.938 kB / 393.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1364, allocations: 43.89 kB / 393.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1366, allocations: 59.84 kB / 393.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1368, allocations: 35.97 kB / 393.6 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.1368, allocations: 35.8 kB / 393.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1369, allocations: 31.8 kB / 393.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1369, allocations: 4 kB / 393.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.1369, allocations: 4 kB / 393.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.137, allocations: 27.89 kB / 393.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1371, allocations: 35.75 kB / 393.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1372, allocations: 87.72 kB / 393.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1372, allocations: 0 / 393.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1373, allocations: 0 / 393.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1373, allocations: 0 / 393.8 MB, free: 2.102 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.0005908/0.1379, allocations: 411 kB / 394.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1379, allocations: 8.031 kB / 394.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1379, allocations: 12.84 kB / 394.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1383, allocations: 200.6 kB / 394.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1383, allocations: 8.375 kB / 394.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1383, allocations: 16.31 kB / 394.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.1389, allocations: 219 kB / 394.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1389, allocations: 7.938 kB / 394.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1389, allocations: 3.984 kB / 394.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1389, allocations: 0 / 394.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.139, allocations: 39.92 kB / 394.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.1392, allocations: 189.5 kB / 394.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1395, allocations: 131 kB / 395 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.1396, allocations: 76.83 kB / 395.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1396, allocations: 0 / 395.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1397, allocations: 38.5 kB / 395.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.1397, allocations: 0 / 395.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003298/0.14, allocations: 153.7 kB / 395.3 MB, free: 452 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.1401, allocations: 59.41 kB / 395.3 MB, free: 380 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1403, allocations: 142.4 kB / 395.5 MB, free: 224 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1403, allocations: 33.69 kB / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.1404, allocations: 92.41 kB / 395.6 MB, free: 88 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1405, allocations: 11.98 kB / 395.6 MB, free: 76 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1405, allocations: 29.62 kB / 395.6 MB, free: 40 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1407, allocations: 322.8 kB / 396 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1408, allocations: 31.98 kB / 396 MB, free: 15.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1409, allocations: 110.7 kB / 396.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1411, allocations: 157.5 kB / 396.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1411, allocations: 0 / 396.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001997/0.1413, allocations: 157.2 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1414, allocations: 8.5 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1414, allocations: 4 kB / 396.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1414, allocations: 8 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1415, allocations: 31.92 kB / 396.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1416, allocations: 4 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.1416, allocations: 19.84 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1417, allocations: 15.92 kB / 396.5 MB, free: 15.07 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 0.000151/0.1418, allocations: 129.7 kB / 396.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.142, allocations: 126 kB / 396.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.1421, allocations: 13.19 kB / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1421, allocations: 8 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1421, allocations: 0 / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1421, allocations: 0 / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1423, allocations: 201.4 kB / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1423, allocations: 0 / 397 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1424, allocations: 20 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1424, allocations: 3.938 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1425, allocations: 4 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.1425, allocations: 7.984 kB / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1425, allocations: 0 / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1427, allocations: 156.9 kB / 397.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1428, allocations: 100.9 kB / 397.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1429, allocations: 8 kB / 397.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.1429, allocations: 0 / 397.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-06/0.1429, allocations: 0 / 397.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.1429, allocations: 4 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.143, allocations: 116 kB / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.143, allocations: 0 / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1433, allocations: 20 kB / 397.4 MB, free: 14.07 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 0.0001717/0.1435, allocations: 91.25 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1437, allocations: 91.77 kB / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.1437, allocations: 0 / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1437, allocations: 1 kB / 397.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.1443, allocations: 84.39 kB / 397.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.1449, allocations: 275.6 kB / 397.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.1455, allocations: 0.7204 MB / 398.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.1456, allocations: 12.64 kB / 398.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.1456, allocations: 15.44 kB / 398.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1456, allocations: 0 / 398.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.004118/0.1497, allocations: 0.9331 MB / 399.6 MB, free: 11.8 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (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) 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