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.001308/0.001308, allocations: 96.7 kB / 15.74 MB, free: 424 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.002106/0.002106, allocations: 174.7 kB / 16.62 MB, free: 6.43 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.955/1.955, allocations: 205.4 MB / 222.8 MB, free: 5.617 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.09155/0.09155, allocations: 12.6 MB / 283.7 MB, free: 8.691 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.0006696/0.0006697, allocations: 16 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1128, allocations: 50.38 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001251/0.1141, allocations: 0.6026 MB / 395.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.1144, allocations: 147.6 kB / 395.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.1145, allocations: 7.938 kB / 395.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.1146, allocations: 11.86 kB / 395.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1148, allocations: 11.92 kB / 395.7 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.115, allocations: 39.91 kB / 395.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1151, allocations: 63.83 kB / 395.8 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1152, allocations: 36.17 kB / 395.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.1153, allocations: 19.84 kB / 395.9 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.591e-05/0.1154, allocations: 27.86 kB / 395.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1154, allocations: 0 / 395.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.1154, allocations: 4 kB / 395.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1155, allocations: 27.91 kB / 395.9 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.1155, allocations: 37.64 kB / 395.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1157, allocations: 71.83 kB / 396 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1157, allocations: 0 / 396 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1157, allocations: 0 / 396 MB, free: 1.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1157, allocations: 0 / 396 MB, free: 1.676 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.0005612/0.1162, allocations: 391.2 kB / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1163, allocations: 15.95 kB / 396.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.1164, allocations: 15.81 kB / 396.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1166, allocations: 198.8 kB / 396.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1166, allocations: 11.95 kB / 396.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1167, allocations: 8 kB / 396.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.1171, allocations: 234.8 kB / 396.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1171, allocations: 3.953 kB / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1171, allocations: 0 / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1172, allocations: 0 / 396.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.1173, allocations: 55.89 kB / 396.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1175, allocations: 197.5 kB / 397.1 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.1177, allocations: 143 kB / 397.3 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1178, allocations: 80.81 kB / 397.3 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1179, allocations: 4 kB / 397.3 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1179, allocations: 38.56 kB / 397.4 MB, free: 140 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.1179, allocations: 0 / 397.4 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003154/0.1182, allocations: 173.7 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1183, allocations: 67.33 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1184, allocations: 165.9 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1185, allocations: 33.7 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1185, allocations: 88.45 kB / 397.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1185, allocations: 11.98 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1186, allocations: 11.94 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1187, allocations: 322.8 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.1187, allocations: 23.89 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1189, allocations: 132.8 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.119, allocations: 39.94 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.119, allocations: 4 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002038/0.1192, allocations: 161.4 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1192, allocations: 4 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1193, allocations: 4 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1193, allocations: 4 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1194, allocations: 39.88 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1194, allocations: 4 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.1195, allocations: 15.84 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1195, allocations: 8.344 kB / 398.7 MB, free: 14.75 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.0001319/0.1196, allocations: 149.8 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.1198, allocations: 137.4 kB / 399 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1199, allocations: 17.19 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1199, allocations: 0 / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1199, allocations: 3.953 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1199, allocations: 7.984 kB / 399 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.12, allocations: 189.5 kB / 399.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.12, allocations: 4 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1201, allocations: 31.98 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1202, allocations: 0 / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1202, allocations: 0 / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1202, allocations: 4 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1202, allocations: 0 / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1204, allocations: 173.4 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.1205, allocations: 108.9 kB / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1205, allocations: 4 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.1206, allocations: 8 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.1206, allocations: 0 / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1206, allocations: 4 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.1207, allocations: 119.2 kB / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1207, allocations: 0 / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1209, allocations: 16 kB / 399.6 MB, free: 13.69 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.0001164/0.121, allocations: 115.1 kB / 399.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1212, allocations: 95.77 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1212, allocations: 0 / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1212, allocations: 4 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1216, allocations: 97.23 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.122, allocations: 269 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1223, allocations: 0.7204 MB / 400.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1223, allocations: 13.08 kB / 400.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1224, allocations: 19.38 kB / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1224, allocations: 0 / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.003186/0.1256, allocations: 1.018 MB / 402 MB, free: 11.28 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