Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 119.1 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 374.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1461, allocations: 53.32 MB / 427.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002604/0.1487, allocations: 0.9509 MB / 428.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004048/0.1491, allocations: 119.6 kB / 428.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.1492, allocations: 0 / 428.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.1493, allocations: 3.938 kB / 428.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.1494, allocations: 15.86 kB / 428.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1497, allocations: 31.97 kB / 428.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1498, allocations: 47.8 kB / 428.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.15, allocations: 24.09 kB / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.15, allocations: 15.92 kB / 428.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.15, allocations: 23.86 kB / 428.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1501, allocations: 4 kB / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1501, allocations: 4 kB / 428.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.1501, allocations: 11.94 kB / 428.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.1502, allocations: 27.8 kB / 428.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1503, allocations: 55.73 kB / 428.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1504, allocations: 0 / 428.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1504, allocations: 4 kB / 428.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1504, allocations: 0 / 428.8 MB, free: 3.016 MB / 350.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.0005419/0.1509, allocations: 385.6 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1509, allocations: 12.03 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.151, allocations: 8.891 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1513, allocations: 196.2 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1513, allocations: 4.375 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1513, allocations: 8.375 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1516, allocations: 127.8 kB / 429.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1516, allocations: 3.938 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1516, allocations: 4 kB / 429.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1516, allocations: 7.922 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.1517, allocations: 23.92 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.1519, allocations: 177.5 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.152, allocations: 54.72 kB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.1521, allocations: 36.89 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1521, allocations: 4 kB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1522, allocations: 34.5 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1522, allocations: 0 / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002171/0.1524, allocations: 93.56 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.1524, allocations: 59.41 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1526, allocations: 140.2 kB / 430.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1526, allocations: 25.7 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.1527, allocations: 84.14 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1527, allocations: 4 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1527, allocations: 25.7 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1529, allocations: 314.8 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.1529, allocations: 19.92 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.153, allocations: 54.81 kB / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1531, allocations: 78.73 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1531, allocations: 0 / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000143/0.1532, allocations: 89.52 kB / 430.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1533, allocations: 11.94 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1533, allocations: 0 / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1533, allocations: 4 kB / 430.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.1534, allocations: 19.92 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1534, allocations: 4 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.1534, allocations: 3.953 kB / 430.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1534, allocations: 4 kB / 430.9 MB, free: 0.6641 MB / 350.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.0001154/0.1535, allocations: 130 kB / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1536, allocations: 77.72 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.1537, allocations: 12.72 kB / 431.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1537, allocations: 0 / 431.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1537, allocations: 3.984 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1537, allocations: 0 / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1538, allocations: 173.6 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1538, allocations: 0 / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.1539, allocations: 19.92 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1539, allocations: 3.938 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1539, allocations: 4 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1539, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1539, allocations: 4 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1541, allocations: 101 kB / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.1542, allocations: 101 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1542, allocations: 0 / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.682e-05/0.1542, allocations: 0 / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.1542, allocations: 0 / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1542, allocations: 8 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.1543, allocations: 105.8 kB / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 4 kB / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1545, allocations: 8 kB / 431.6 MB, free: 15.82 MB / 366.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.0001184/0.1546, allocations: 95.78 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1547, allocations: 43.86 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1547, allocations: 4.5 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1547, allocations: 4 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.155, allocations: 44.17 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.1554, allocations: 187.2 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1558, allocations: 0.7001 MB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.1558, allocations: 11.44 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1558, allocations: 0 / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.002636/0.1584, allocations: 0.813 MB / 433.5 MB, free: 13.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.940849298989633]