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.001168/0.001169, allocations: 106.5 kB / 16.45 MB, free: 6.434 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.0014/0.0014, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.679/1.679, 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.07814/0.07814, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.002002/0.002002, allocations: 84.2 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 49.4 MB / 443.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002655/0.1241, allocations: 1.041 MB / 444.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.1245, allocations: 127.6 kB / 444.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1247, allocations: 0 / 444.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1249, allocations: 11.88 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.125, allocations: 19.86 kB / 444.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1254, allocations: 43.89 kB / 444.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1255, allocations: 67.77 kB / 444.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1257, allocations: 47.91 kB / 444.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.1258, allocations: 27.86 kB / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1259, allocations: 31.84 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1259, allocations: 4 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.1259, allocations: 8 kB / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.126, allocations: 31.84 kB / 445 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.1261, allocations: 35.75 kB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1263, allocations: 87.52 kB / 445.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1263, allocations: 0 / 445.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1263, allocations: 0 / 445.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1263, 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.0006762/0.127, allocations: 414.8 kB / 445.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1271, allocations: 12.03 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1271, allocations: 12.84 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1274, allocations: 208.7 kB / 445.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1274, allocations: 4.375 kB / 445.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1274, allocations: 8.375 kB / 445.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.1279, allocations: 211.3 kB / 446 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1279, allocations: 0 / 446 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1279, allocations: 4 kB / 446 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.128, allocations: 7.938 kB / 446 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.128, allocations: 31.98 kB / 446 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.1283, allocations: 197.5 kB / 446.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1285, allocations: 130.6 kB / 446.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1286, allocations: 77.12 kB / 446.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1287, allocations: 4 kB / 446.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1287, allocations: 38.5 kB / 446.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1287, allocations: 0 / 446.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003222/0.129, allocations: 157.8 kB / 446.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.1291, allocations: 59.41 kB / 446.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1293, allocations: 142.4 kB / 446.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1293, allocations: 29.7 kB / 446.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1293, allocations: 88.47 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1294, allocations: 15.88 kB / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1294, allocations: 37.72 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1296, allocations: 326.8 kB / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.1296, allocations: 23.98 kB / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/0.1297, allocations: 109.7 kB / 447.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1299, allocations: 157.5 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1299, allocations: 0 / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002149/0.1301, allocations: 157.5 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1301, allocations: 4 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1301, allocations: 7.984 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1302, allocations: 4 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1303, allocations: 35.94 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1303, allocations: 7.984 kB / 447.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.1304, allocations: 11.89 kB / 447.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1304, allocations: 12 kB / 447.8 MB, free: 11.85 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.0001012/0.1305, allocations: 137.9 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.1306, allocations: 121.5 kB / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.1307, allocations: 13.19 kB / 448.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1307, allocations: 4 kB / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1307, allocations: 3.938 kB / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1307, allocations: 3.984 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1309, allocations: 189.5 kB / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1309, allocations: 4 kB / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.131, allocations: 27.98 kB / 448.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.131, allocations: 0 / 448.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.131, allocations: 4 kB / 448.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.131, allocations: 3.938 kB / 448.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.131, allocations: 4 kB / 448.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1312, allocations: 153.5 kB / 448.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.1313, allocations: 104.9 kB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1313, allocations: 4 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.1313, allocations: 7.984 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-06/0.1313, allocations: 0 / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1313, allocations: 12 kB / 448.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.1314, allocations: 108 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.1314, allocations: 0 / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1317, allocations: 23.94 kB / 448.8 MB, free: 10.84 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.0001098/0.1318, allocations: 103.2 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.132, allocations: 88.72 kB / 448.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.132, allocations: 4.062 kB / 448.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.132, allocations: 0 / 448.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1324, allocations: 91.8 kB / 449 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.1328, allocations: 229.7 kB / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1331, allocations: 0.7162 MB / 450 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.101e-05/0.1331, allocations: 8.656 kB / 450 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.1331, allocations: 15.44 kB / 450 MB, free: 9.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1331, allocations: 0 / 450 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Templates: time 0.003614/0.1368, allocations: 1.027 MB / 451 MB, free: 8.504 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