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.001464/0.001464, allocations: 96.05 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 175.6 kB / 16.61 MB, free: 6.426 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.637/1.637, allocations: 205.4 MB / 222.8 MB, free: 5.676 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.08152/0.08152, allocations: 12.61 MB / 283.7 MB, free: 8.699 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.001297/0.001297, allocations: 24 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 50.38 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001717/0.1245, allocations: 0.715 MB / 395.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000472/0.1251, allocations: 135.6 kB / 395.7 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1252, allocations: 3.938 kB / 395.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1253, allocations: 7.922 kB / 395.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1255, allocations: 15.92 kB / 395.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1258, allocations: 39.89 kB / 395.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1259, allocations: 39.97 kB / 395.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1261, allocations: 40.02 kB / 395.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.1261, allocations: 15.92 kB / 395.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.1262, allocations: 23.86 kB / 395.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1262, allocations: 0 / 395.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.1262, allocations: 4 kB / 395.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.1263, allocations: 23.91 kB / 396 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1264, allocations: 41.64 kB / 396 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1265, allocations: 55.89 kB / 396 MB, free: 1.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1265, allocations: 3.938 kB / 396.1 MB, free: 1.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1265, allocations: 4 kB / 396.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1265, allocations: 0 / 396.1 MB, free: 1.633 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.0004643/0.127, allocations: 387.1 kB / 396.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.127, allocations: 8.031 kB / 396.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.1271, allocations: 19.91 kB / 396.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1273, allocations: 195.4 kB / 396.7 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1273, allocations: 7.953 kB / 396.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1274, allocations: 12 kB / 396.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.1279, allocations: 214.8 kB / 396.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1279, allocations: 3.953 kB / 396.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1279, allocations: 4 kB / 396.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1279, allocations: 0 / 396.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.128, allocations: 35.97 kB / 396.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.1282, allocations: 189.6 kB / 397.1 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1284, allocations: 134.9 kB / 397.2 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1285, allocations: 0 / 397.2 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1285, allocations: 30.56 kB / 397.3 MB, free: 256 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.1285, allocations: 0 / 397.3 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002897/0.1288, allocations: 153.6 kB / 397.4 MB, free: 96 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.1289, allocations: 63.41 kB / 397.5 MB, free: 20 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.129, allocations: 147 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1291, allocations: 33.7 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1291, allocations: 92.44 kB / 397.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1292, allocations: 8 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1292, allocations: 0 / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1293, allocations: 326.8 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.1293, allocations: 23.92 kB / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.1294, allocations: 120.7 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.1295, allocations: 39.98 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1295, allocations: 3.938 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002107/0.1297, allocations: 157.2 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1298, allocations: 4 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1298, allocations: 4 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1298, allocations: 8 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1299, allocations: 32.42 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.13, allocations: 7.953 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.13, allocations: 19.84 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.13, allocations: 12 kB / 398.5 MB, free: 14.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1302, allocations: 133.8 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1303, allocations: 113.5 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.1304, allocations: 17.19 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1304, allocations: 4 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1304, allocations: 0 / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1304, allocations: 7.891 kB / 398.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1306, allocations: 197.5 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1306, allocations: 0 / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1307, allocations: 27.98 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1307, allocations: 0 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1307, allocations: 0 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1307, allocations: 0 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1307, allocations: 0 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1309, allocations: 157.5 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.131, allocations: 104.8 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.131, allocations: 8 kB / 399.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.1311, allocations: 4 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-06/0.1311, allocations: 3.984 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1311, allocations: 4 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.204e-05/0.1312, allocations: 112.6 kB / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1312, allocations: 0 / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1314, allocations: 16 kB / 399.4 MB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.1315, allocations: 95.25 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1317, allocations: 91.78 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1317, allocations: 0 / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1318, allocations: 0 / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1321, allocations: 84.47 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.1326, allocations: 264.7 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.133, allocations: 0.7165 MB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.133, allocations: 12.66 kB / 400.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1331, allocations: 15.42 kB / 400.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.013e-06/0.1331, allocations: 0 / 400.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003567/0.1366, allocations: 0.8822 MB / 401.5 MB, free: 11.7 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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