Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 94.84 kB / 16.3 MB, free: 5.652 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.002374/0.002374, allocations: 182 kB / 17.2 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 9.875 kB / 300.7 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001244/0.1157, allocations: 0.5524 MB / 351.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.116, allocations: 123.6 kB / 351.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.1161, allocations: 3.938 kB / 351.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.1162, allocations: 0 / 351.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1163, allocations: 19.91 kB / 351.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1165, allocations: 31.09 kB / 351.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.1166, allocations: 27.91 kB / 351.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1168, allocations: 20.2 kB / 351.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.1168, allocations: 7.938 kB / 351.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.1169, allocations: 23.92 kB / 351.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1169, allocations: 0 / 351.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1169, allocations: 4 kB / 351.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.117, allocations: 11.92 kB / 352 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.117, allocations: 37.64 kB / 352 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.1171, allocations: 39.92 kB / 352 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1171, allocations: 0 / 352 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1171, allocations: 0 / 352 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1171, allocations: 0 / 352 MB, free: 10.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004675/0.1176, allocations: 371 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1177, allocations: 12.03 kB / 352.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1177, allocations: 11.86 kB / 352.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1179, allocations: 182.9 kB / 352.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.118, allocations: 8 kB / 352.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.118, allocations: 4 kB / 352.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.1183, allocations: 139.2 kB / 352.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1183, allocations: 3.938 kB / 352.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1184, allocations: 7.938 kB / 352.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1184, allocations: 4 kB / 352.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1184, allocations: 16 kB / 352.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1186, allocations: 181.6 kB / 353 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1188, allocations: 74.69 kB / 353 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1189, allocations: 4 kB / 353 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.1189, allocations: 34.56 kB / 353.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 3.847e-06/0.1189, allocations: 7.922 kB / 353.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002328/0.1192, allocations: 97.52 kB / 353.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.1192, allocations: 59.36 kB / 353.2 MB, free: 9.457 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1194, allocations: 148.2 kB / 353.4 MB, free: 9.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1194, allocations: 25.7 kB / 353.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1195, allocations: 92.14 kB / 353.5 MB, free: 9.176 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1195, allocations: 0 / 353.5 MB, free: 9.176 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.1195, allocations: 4 kB / 353.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1197, allocations: 318.8 kB / 353.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.1197, allocations: 8 kB / 353.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.1198, allocations: 62.8 kB / 353.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.1198, allocations: 20 kB / 353.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1198, allocations: 0 / 353.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001627/0.12, allocations: 97.48 kB / 354 MB, free: 8.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.12, allocations: 4 kB / 354 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.12, allocations: 4 kB / 354 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1201, allocations: 0 / 354 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1202, allocations: 27.98 kB / 354 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1202, allocations: 0 / 354 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1202, allocations: 7.953 kB / 354 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1203, allocations: 4 kB / 354 MB, free: 8.59 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001332/0.1204, allocations: 131.9 kB / 354.2 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1205, allocations: 85.72 kB / 354.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.1205, allocations: 8.719 kB / 354.3 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1206, allocations: 0 / 354.3 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1206, allocations: 4 kB / 354.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1206, allocations: 0 / 354.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1207, allocations: 177.5 kB / 354.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1208, allocations: 192 / 354.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.1208, allocations: 23.92 kB / 354.5 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1208, allocations: 7.875 kB / 354.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1209, allocations: 4 kB / 354.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1209, allocations: 4 kB / 354.5 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1209, allocations: 0 / 354.5 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.121, allocations: 105.4 kB / 354.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.1211, allocations: 93 kB / 354.7 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1211, allocations: 3.984 kB / 354.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.1211, allocations: 4 kB / 354.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.1212, allocations: 0 / 354.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1212, allocations: 4 kB / 354.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.653e-05/0.1213, allocations: 107.2 kB / 354.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1213, allocations: 0 / 354.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1215, allocations: 12 kB / 354.8 MB, free: 7.727 MB / 286.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001179/0.1216, allocations: 107.2 kB / 354.9 MB, free: 7.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1217, allocations: 52.36 kB / 354.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1217, allocations: 4.125 kB / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1217, allocations: 0 / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.122, allocations: 43.97 kB / 355 MB, free: 7.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.1223, allocations: 183.1 kB / 355.2 MB, free: 7.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1227, allocations: 0.7043 MB / 355.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.829e-05/0.1227, allocations: 8.656 kB / 355.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1227, allocations: 11.44 kB / 355.9 MB, free: 6.555 MB / 286.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1227, allocations: 0 / 355.9 MB, free: 6.555 MB / 286.1 MB Notification: Performance of Templates: time 0.002693/0.1254, allocations: 0.6131 MB / 356.5 MB, free: 5.945 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches