Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 95.89 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.001652/0.001652, allocations: 174.7 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.487/1.487, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.08945/0.08945, allocations: 12.59 MB / 283.6 MB, free: 8.707 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.0007398/0.00074, allocations: 27.98 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1054, allocations: 50.38 MB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001645/0.1071, allocations: 0.6074 MB / 395.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000417/0.1075, allocations: 139.6 kB / 395.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1076, allocations: 7.938 kB / 395.6 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.1077, allocations: 11.92 kB / 395.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1079, allocations: 11.97 kB / 395.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1082, allocations: 39.84 kB / 395.7 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1084, allocations: 39.95 kB / 395.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1086, allocations: 40.16 kB / 395.8 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.1087, allocations: 19.86 kB / 395.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1088, allocations: 23.86 kB / 395.8 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1088, allocations: 4 kB / 395.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.1088, allocations: 0 / 395.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1089, allocations: 27.91 kB / 395.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.109, allocations: 41.64 kB / 395.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1092, allocations: 59.89 kB / 396 MB, free: 1.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1092, allocations: 4 kB / 396 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1092, allocations: 0 / 396 MB, free: 1.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1092, allocations: 0 / 396 MB, free: 1.715 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.0006909/0.1099, allocations: 403 kB / 396.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.11, allocations: 8.031 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.11, allocations: 19.81 kB / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1104, allocations: 198.9 kB / 396.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1104, allocations: 11.95 kB / 396.6 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1105, allocations: 8 kB / 396.6 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.1111, allocations: 238.8 kB / 396.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1111, allocations: 3.953 kB / 396.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1112, allocations: 4 kB / 396.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1112, allocations: 3.984 kB / 396.8 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1113, allocations: 47.97 kB / 396.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.1116, allocations: 197.5 kB / 397.1 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.112, allocations: 146.9 kB / 397.2 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.112, allocations: 0 / 397.2 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1121, allocations: 30.56 kB / 397.3 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.1121, allocations: 11.94 kB / 397.3 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004834/0.1126, allocations: 173.7 kB / 397.4 MB, free: 68 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1127, allocations: 63.41 kB / 397.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.113, allocations: 169.8 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.113, allocations: 25.7 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.1131, allocations: 96.45 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1131, allocations: 11.98 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1131, allocations: 0 / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1133, allocations: 330.8 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.1134, allocations: 15.91 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1135, allocations: 126.9 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.1136, allocations: 43.92 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1137, allocations: 0 / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003351/0.114, allocations: 157.7 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.114, allocations: 8 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.114, allocations: 4 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1141, allocations: 4 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1143, allocations: 35.92 kB / 398.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1143, allocations: 7.953 kB / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1144, allocations: 15.84 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1144, allocations: 15.98 kB / 398.5 MB, free: 14.86 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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * 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.000223/0.1147, allocations: 145.8 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.1149, allocations: 129.5 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.115, allocations: 25.17 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.115, allocations: 4 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.115, allocations: 0 / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1151, allocations: 3.953 kB / 398.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1153, allocations: 189.5 kB / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1153, allocations: 0 / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1155, allocations: 23.98 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1155, allocations: 4 kB / 399.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1155, allocations: 11.98 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1155, allocations: 0 / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1155, allocations: 0 / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1158, allocations: 168.7 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.116, allocations: 101 kB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.116, allocations: 0 / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.1161, allocations: 11.98 kB / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-06/0.1161, allocations: 4 kB / 399.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1161, allocations: 8 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1163, allocations: 115.2 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1163, allocations: 0 / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.1167, allocations: 16 kB / 399.5 MB, free: 13.82 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * 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.0001572/0.1169, allocations: 99.91 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1172, allocations: 108.8 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.1172, allocations: 7.938 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.1172, allocations: 0 / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.1177, allocations: 97.23 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1183, allocations: 269.2 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1187, allocations: 0.7243 MB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.1188, allocations: 9.094 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1189, allocations: 15.44 kB / 400.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1189, allocations: 0 / 400.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Templates: time 0.005127/0.124, allocations: 1.025 MB / 401.8 MB, free: 11.41 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches