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.001301/0.001301, allocations: 111.8 kB / 17.29 MB, free: 6.219 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.001287/0.001287, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.465/1.465, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 41.91 kB / 300.8 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 49.46 MB / 350.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002953/0.1234, allocations: 1.001 MB / 351.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.1238, allocations: 119.5 kB / 351.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1239, allocations: 4 kB / 351.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.177e-05/0.124, allocations: 3.938 kB / 351.4 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1242, allocations: 7.984 kB / 351.4 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1245, allocations: 31.91 kB / 351.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1246, allocations: 39.86 kB / 351.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1247, allocations: 28.16 kB / 351.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.1248, allocations: 15.94 kB / 351.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.1248, allocations: 19.86 kB / 351.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1248, allocations: 4 kB / 351.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1249, allocations: 0 / 351.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.125, allocations: 19.92 kB / 351.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.125, allocations: 23.81 kB / 351.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1251, allocations: 43.92 kB / 351.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1252, allocations: 3.938 kB / 351.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1252, allocations: 0 / 351.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1252, allocations: 4 kB / 351.6 MB, free: 3.391 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.0004878/0.1257, allocations: 375.4 kB / 352 MB, free: 2.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1257, allocations: 8.031 kB / 352 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1258, allocations: 16.78 kB / 352 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.126, allocations: 188.1 kB / 352.2 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.126, allocations: 384 / 352.2 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1261, allocations: 4.375 kB / 352.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.1264, allocations: 135.8 kB / 352.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1264, allocations: 11.88 kB / 352.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1264, allocations: 4 kB / 352.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1264, allocations: 0 / 352.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.1265, allocations: 12 kB / 352.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1267, allocations: 173.6 kB / 352.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1268, allocations: 66.72 kB / 352.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.1269, allocations: 44.97 kB / 352.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.1269, allocations: 3.984 kB / 352.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1269, allocations: 38.56 kB / 352.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.127, allocations: 0 / 352.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002064/0.1272, allocations: 85.53 kB / 352.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1272, allocations: 63.62 kB / 352.8 MB, free: 2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1274, allocations: 141.7 kB / 352.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1274, allocations: 25.7 kB / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.1274, allocations: 84.14 kB / 353.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1275, allocations: 8 kB / 353.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1275, allocations: 25.59 kB / 353.1 MB, free: 1.695 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1277, allocations: 322.8 kB / 353.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1277, allocations: 4 kB / 353.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.1277, allocations: 58.86 kB / 353.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.1278, allocations: 74.75 kB / 353.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1278, allocations: 0 / 353.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001269/0.128, allocations: 89.67 kB / 353.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.128, allocations: 23.03 kB / 353.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.128, allocations: 0 / 353.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.128, allocations: 4 kB / 353.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.1281, allocations: 12.19 kB / 353.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1281, allocations: 11.97 kB / 353.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.1282, allocations: 7.938 kB / 353.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1282, allocations: 4 kB / 353.7 MB, free: 1.035 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.000117/0.1283, allocations: 121.8 kB / 353.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.1284, allocations: 73.53 kB / 353.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1285, allocations: 16.72 kB / 353.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1285, allocations: 0 / 353.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1285, allocations: 0 / 353.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1285, allocations: 0 / 353.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1286, allocations: 181.5 kB / 354.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1286, allocations: 0 / 354.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.1287, allocations: 8 kB / 354.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.1287, allocations: 11.92 kB / 354.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1287, allocations: 4 kB / 354.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.1287, allocations: 3.938 kB / 354.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1288, allocations: 0 / 354.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1289, allocations: 101 kB / 354.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.129, allocations: 100.9 kB / 354.3 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.129, allocations: 4 kB / 354.3 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.129, allocations: 4 kB / 354.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-06/0.129, allocations: 0 / 354.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1291, allocations: 0 / 354.3 MB, free: 320 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.1291, allocations: 107.2 kB / 354.4 MB, free: 212 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1291, allocations: 4 kB / 354.4 MB, free: 208 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1293, allocations: 8 kB / 354.4 MB, free: 200 kB / 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: 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.000129/0.1295, allocations: 107.1 kB / 354.5 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1296, allocations: 47.86 kB / 354.6 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1296, allocations: 0 / 354.6 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1296, allocations: 0 / 354.6 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.13, allocations: 42.62 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1304, allocations: 219.4 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1307, allocations: 0.7002 MB / 355.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.1308, allocations: 7.438 kB / 355.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1308, allocations: 0 / 355.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Templates: time 0.002531/0.1333, allocations: 0.8049 MB / 356.3 MB, free: 14.2 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