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.001405/0.001405, allocations: 106.2 kB / 16.45 MB, free: 6.398 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.001884/0.001884, allocations: 192.2 kB / 17.39 MB, free: 5.645 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.817/1.817, allocations: 205.1 MB / 223.3 MB, free: 12.18 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.09018/0.09018, allocations: 12.59 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.001983/0.001983, allocations: 88.2 kB / 394.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1329, allocations: 49.41 MB / 443.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002505/0.1355, allocations: 1.026 MB / 444.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004163/0.1359, allocations: 143.5 kB / 444.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1361, allocations: 4 kB / 444.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1362, allocations: 7.875 kB / 444.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1363, allocations: 15.86 kB / 444.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1366, allocations: 39.89 kB / 444.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1367, allocations: 59.84 kB / 444.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1369, allocations: 59.81 kB / 444.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1369, allocations: 23.88 kB / 445 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.137, allocations: 31.84 kB / 445 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.1371, allocations: 7.938 kB / 445 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.1371, allocations: 4 kB / 445 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.1372, allocations: 23.92 kB / 445 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.1373, allocations: 47.73 kB / 445.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1374, allocations: 83.66 kB / 445.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1374, allocations: 0 / 445.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1375, allocations: 0 / 445.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1375, allocations: 0 / 445.2 MB, free: 15.01 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.0006895/0.1382, allocations: 410.9 kB / 445.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1382, allocations: 8.031 kB / 445.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1383, allocations: 16.75 kB / 445.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1386, allocations: 212.6 kB / 445.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1386, allocations: 8.375 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1387, allocations: 4.375 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.1391, allocations: 215.2 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1392, allocations: 0 / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1392, allocations: 7.984 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1392, allocations: 4 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.1393, allocations: 35.92 kB / 446.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1395, allocations: 193.5 kB / 446.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1397, allocations: 131 kB / 446.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1399, allocations: 76.83 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1399, allocations: 4 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1399, allocations: 38.5 kB / 446.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.1399, allocations: 0 / 446.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002853/0.1402, allocations: 145.7 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.1403, allocations: 67.39 kB / 446.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1404, allocations: 146.4 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1404, allocations: 29.7 kB / 446.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1405, allocations: 92.45 kB / 447 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1405, allocations: 11.91 kB / 447 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1406, allocations: 33.7 kB / 447 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1407, allocations: 322.8 kB / 447.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.311e-05/0.1408, allocations: 15.98 kB / 447.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1409, allocations: 129.6 kB / 447.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1411, allocations: 149.5 kB / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1411, allocations: 0 / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002032/0.1413, allocations: 157.2 kB / 447.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1413, allocations: 8 kB / 447.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1413, allocations: 4 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1413, allocations: 7.938 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1415, allocations: 31.98 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1415, allocations: 8.438 kB / 447.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.1415, allocations: 19.84 kB / 447.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1416, allocations: 8 kB / 447.8 MB, free: 11.98 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.0001218/0.1417, allocations: 141.6 kB / 448 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.1418, allocations: 110.1 kB / 448.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.1419, allocations: 21.19 kB / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1419, allocations: 0 / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1419, allocations: 4 kB / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1419, allocations: 0 / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1421, allocations: 193.4 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1421, allocations: 7.984 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1422, allocations: 23.94 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1422, allocations: 4 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1422, allocations: 4 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1422, allocations: 0 / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1422, allocations: 7.922 kB / 448.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1424, allocations: 153 kB / 448.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1425, allocations: 100.9 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1426, allocations: 4 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.1426, allocations: 4 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-06/0.1426, allocations: 0 / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1426, allocations: 7.938 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.1427, allocations: 115.9 kB / 448.7 MB, free: 11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 448.7 MB, free: 11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1429, allocations: 16 kB / 448.7 MB, free: 10.98 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.0001089/0.143, allocations: 103.2 kB / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1432, allocations: 95.77 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.1433, allocations: 0 / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1433, allocations: 0 / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1437, allocations: 79.89 kB / 449 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.1442, allocations: 223.1 kB / 449.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1447, allocations: 0.7162 MB / 450 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.1448, allocations: 12.64 kB / 450 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.1449, allocations: 15.44 kB / 450 MB, free: 9.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.885e-06/0.1449, allocations: 0 / 450 MB, free: 9.688 MB / 334.1 MB Notification: Performance of Templates: time 0.004757/0.1496, allocations: 1.039 MB / 451 MB, free: 8.648 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