Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 101 kB / 17.59 MB, free: 5.426 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.002106/0.002106, allocations: 191.3 kB / 18.51 MB, free: 4.504 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.428/1.428, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 52.42 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00315/0.1223, allocations: 0.9396 MB / 351.7 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004588/0.1227, allocations: 119.5 kB / 351.8 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1229, allocations: 4 kB / 351.8 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.916e-05/0.123, allocations: 7.922 kB / 351.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1232, allocations: 11.86 kB / 351.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1235, allocations: 29.34 kB / 351.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1236, allocations: 39.86 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1238, allocations: 32.09 kB / 351.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.1238, allocations: 15.94 kB / 351.9 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.1239, allocations: 19.86 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1239, allocations: 0 / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.1239, allocations: 4 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.124, allocations: 15.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.124, allocations: 31.81 kB / 352 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1242, allocations: 51.8 kB / 352.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1242, allocations: 4 kB / 352.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1242, allocations: 0 / 352.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1242, allocations: 0 / 352.1 MB, free: 3.098 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.0005198/0.1248, allocations: 379.4 kB / 352.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1248, allocations: 12.03 kB / 352.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1249, allocations: 12.84 kB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1251, allocations: 188.1 kB / 352.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1251, allocations: 8.375 kB / 352.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1251, allocations: 4.375 kB / 352.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1254, allocations: 123.9 kB / 352.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1254, allocations: 3.938 kB / 352.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1254, allocations: 0 / 352.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1255, allocations: 0 / 352.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.1255, allocations: 23.97 kB / 352.8 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1257, allocations: 177.5 kB / 353 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1259, allocations: 70.66 kB / 353 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.1259, allocations: 36.89 kB / 353.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.126, allocations: 4 kB / 353.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.126, allocations: 30.56 kB / 353.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.126, allocations: 0 / 353.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002327/0.1262, allocations: 101.4 kB / 353.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.1263, allocations: 63.31 kB / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1264, allocations: 137.7 kB / 353.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1265, allocations: 25.7 kB / 353.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.1265, allocations: 84.14 kB / 353.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1265, allocations: 7.984 kB / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1266, allocations: 21.72 kB / 353.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1267, allocations: 314.8 kB / 353.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.1268, allocations: 15.98 kB / 353.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.1268, allocations: 54.81 kB / 353.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.1269, allocations: 74.8 kB / 354 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1269, allocations: 0 / 354 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001473/0.1271, allocations: 93.44 kB / 354.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1271, allocations: 11.94 kB / 354.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1271, allocations: 3.984 kB / 354.1 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1272, allocations: 4 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1272, allocations: 19.92 kB / 354.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1273, allocations: 4 kB / 354.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.1273, allocations: 0 / 354.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1273, allocations: 8 kB / 354.1 MB, free: 0.7461 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: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1274, allocations: 122.1 kB / 354.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1275, allocations: 81.61 kB / 354.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.1276, allocations: 16.7 kB / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1276, allocations: 0 / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1276, allocations: 0 / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1276, allocations: 0 / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1277, allocations: 177.5 kB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1278, allocations: 0 / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1278, allocations: 15.98 kB / 354.5 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1278, allocations: 3.938 kB / 354.5 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1278, allocations: 7.938 kB / 354.5 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1279, allocations: 8 kB / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1279, allocations: 0 / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.128, allocations: 96.97 kB / 354.7 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1281, allocations: 100.9 kB / 354.8 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1281, allocations: 0 / 354.8 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.1281, allocations: 4.188 kB / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.1281, allocations: 0 / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1282, allocations: 11.92 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1283, allocations: 106 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1283, allocations: 4 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.1285, allocations: 4 kB / 354.9 MB, free: 15.89 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: 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 (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.000133/0.1286, allocations: 99.72 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1288, allocations: 48.39 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1288, allocations: 4.438 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1288, allocations: 4 kB / 355 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1292, allocations: 40.17 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.1296, allocations: 195.5 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1299, allocations: 0.6924 MB / 356 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1299, allocations: 15.44 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1299, allocations: 0 / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002467/0.1324, allocations: 0.8006 MB / 356.8 MB, free: 13.93 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches