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.001476/0.001476, allocations: 99.69 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.001391/0.001391, allocations: 190 kB / 17.39 MB, free: 5.691 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.722/1.722, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.1017/0.1017, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001993/0.001993, allocations: 86.86 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 49.42 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00333/0.115, allocations: 1.022 MB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006668/0.1157, allocations: 131.6 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.116, allocations: 4 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1163, allocations: 15.88 kB / 444.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1165, allocations: 11.86 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.1169, allocations: 39.89 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1172, allocations: 67.77 kB / 444.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.1174, allocations: 51.89 kB / 444.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1176, allocations: 27.86 kB / 444.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.1177, allocations: 27.86 kB / 445 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.1177, allocations: 4 kB / 445 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.51e-05/0.1177, allocations: 8 kB / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1179, allocations: 27.86 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.118, allocations: 39.73 kB / 445.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1182, allocations: 95.58 kB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1182, allocations: 0 / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1183, allocations: 0 / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1183, allocations: 0 / 445.1 MB, free: 14.91 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.0008781/0.1192, allocations: 407 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.1192, allocations: 12.03 kB / 445.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1193, allocations: 20.69 kB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.1198, allocations: 212.6 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1198, allocations: 8.375 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1199, allocations: 4.375 kB / 445.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.1204, allocations: 211.2 kB / 446 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1205, allocations: 0 / 446 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1205, allocations: 12 kB / 446 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1205, allocations: 0 / 446 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1206, allocations: 35.98 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.121, allocations: 189.5 kB / 446.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.1213, allocations: 130.7 kB / 446.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1214, allocations: 81.05 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1215, allocations: 7.922 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1215, allocations: 38.5 kB / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1215, allocations: 0 / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003781/0.1219, allocations: 149.8 kB / 446.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.122, allocations: 59.41 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.1222, allocations: 146.4 kB / 446.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1223, allocations: 25.7 kB / 446.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.1224, allocations: 100.4 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1224, allocations: 7.891 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.1225, allocations: 33.72 kB / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1227, allocations: 322.8 kB / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.1227, allocations: 23.92 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1229, allocations: 121.6 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1231, allocations: 145.5 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.1231, allocations: 0 / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002961/0.1234, allocations: 165.1 kB / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1234, allocations: 4 kB / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1234, allocations: 4 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.1235, allocations: 8 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1236, allocations: 31.92 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.1237, allocations: 7.984 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.1237, allocations: 12.34 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1238, allocations: 16 kB / 447.8 MB, free: 11.88 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.0001537/0.1239, allocations: 137.7 kB / 448 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.1241, allocations: 113.6 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.1242, allocations: 13.19 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1242, allocations: 4 kB / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1242, allocations: 3.938 kB / 448.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1242, allocations: 3.984 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1244, allocations: 201.3 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1244, allocations: 8 kB / 448.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.1245, allocations: 23.98 kB / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1245, allocations: 0 / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1245, allocations: 0 / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1245, allocations: 4 kB / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1245, allocations: 4 kB / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1247, allocations: 149.5 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.1248, allocations: 100.9 kB / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1248, allocations: 4 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.1249, allocations: 12 kB / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-06/0.1249, allocations: 0 / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1249, allocations: 7.984 kB / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.125, allocations: 108 kB / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 3.938 kB / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1252, allocations: 20 kB / 448.7 MB, free: 10.88 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.0001069/0.1253, allocations: 99.23 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1255, allocations: 95.86 kB / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1255, allocations: 0 / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1255, allocations: 0 / 448.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1259, allocations: 87.81 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1263, allocations: 218.1 kB / 449.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1267, allocations: 0.7211 MB / 450 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.049e-05/0.1267, allocations: 8.641 kB / 450 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.1267, allocations: 11.44 kB / 450 MB, free: 9.586 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1267, allocations: 0 / 450 MB, free: 9.586 MB / 334.1 MB Notification: Performance of Templates: time 0.003837/0.1306, allocations: 1.07 MB / 451 MB, free: 8.516 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