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.001321/0.001321, allocations: 105 kB / 16.45 MB, free: 6.391 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.001178/0.001178, allocations: 189 kB / 17.39 MB, free: 5.648 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.588/1.588, 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.07523/0.07522, allocations: 12.59 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.002025/0.002025, allocations: 87.12 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 49.41 MB / 443.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002913/0.1475, allocations: 1.033 MB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005355/0.1481, allocations: 127.6 kB / 444.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1483, allocations: 11.94 kB / 444.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1484, allocations: 11.86 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1486, allocations: 11.86 kB / 444.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1489, allocations: 39.91 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1491, allocations: 71.81 kB / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1493, allocations: 47.89 kB / 444.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1494, allocations: 23.86 kB / 445 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.1495, allocations: 31.86 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1495, allocations: 4 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1495, allocations: 8 kB / 445 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.1496, allocations: 27.84 kB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.1497, allocations: 43.73 kB / 445.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1499, allocations: 91.58 kB / 445.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1499, allocations: 4 kB / 445.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1499, allocations: 0 / 445.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1499, allocations: 4 kB / 445.2 MB, free: 14.88 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.0007383/0.1507, allocations: 403 kB / 445.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.1508, allocations: 8.031 kB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1508, allocations: 16.75 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1512, allocations: 204.6 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1512, allocations: 8.375 kB / 445.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1512, allocations: 12.38 kB / 445.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.1518, allocations: 207.2 kB / 446 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1518, allocations: 4 kB / 446 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1518, allocations: 4 kB / 446 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1518, allocations: 4 kB / 446 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.1519, allocations: 35.92 kB / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.1522, allocations: 197.4 kB / 446.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1524, allocations: 130.6 kB / 446.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1526, allocations: 77.2 kB / 446.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1526, allocations: 0 / 446.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1526, allocations: 42.5 kB / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.62e-07/0.1526, allocations: 0 / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002961/0.1529, allocations: 149.8 kB / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.153, allocations: 63.34 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1532, allocations: 142.4 kB / 446.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1532, allocations: 29.7 kB / 446.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1532, allocations: 92.47 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1533, allocations: 19.83 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1533, allocations: 25.72 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1535, allocations: 326.8 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.1535, allocations: 19.98 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1537, allocations: 117.6 kB / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.1539, allocations: 153.5 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.154, allocations: 0 / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002264/0.1542, allocations: 157.2 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1542, allocations: 8 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1542, allocations: 3.984 kB / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1543, allocations: 8 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1544, allocations: 31.94 kB / 447.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.1544, allocations: 7.984 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.1545, allocations: 16.31 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1545, allocations: 12 kB / 447.8 MB, free: 11.87 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: 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.0001456/0.1547, allocations: 137.7 kB / 448 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.1549, allocations: 118.1 kB / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.1549, allocations: 13.19 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.155, allocations: 4 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.155, allocations: 0 / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.155, allocations: 3.984 kB / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1551, allocations: 197.4 kB / 448.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1551, allocations: 0 / 448.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.1552, allocations: 27.98 kB / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1552, allocations: 0 / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1553, allocations: 4 kB / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1553, allocations: 4 kB / 448.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1553, allocations: 0 / 448.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1555, allocations: 156.8 kB / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.1556, allocations: 100.9 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1556, allocations: 8 kB / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.1556, allocations: 7.984 kB / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-06/0.1556, allocations: 3.984 kB / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1557, allocations: 4 kB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.1557, allocations: 116 kB / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.725e-06/0.1558, allocations: 0 / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000229/0.156, allocations: 19.94 kB / 448.7 MB, free: 10.86 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: 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.0001097/0.1561, allocations: 95.23 kB / 448.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1563, allocations: 99.97 kB / 448.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1563, allocations: 0 / 448.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1563, allocations: 0 / 448.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1567, allocations: 83.88 kB / 449 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.1571, allocations: 226.1 kB / 449.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1574, allocations: 0.7208 MB / 450 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.1575, allocations: 4.656 kB / 450 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1575, allocations: 11.44 kB / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1575, allocations: 0 / 450 MB, free: 9.57 MB / 334.1 MB Notification: Performance of Templates: time 0.003566/0.1611, allocations: 1.031 MB / 451 MB, free: 8.539 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches