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.002593/0.002593, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.003151/0.003151, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 18.57 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.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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 1.723e-06/1.723e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.927e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002402/0.002431, allocations: 0.9674 MB / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000379/0.00281, allocations: 123.5 kB / 273.4 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.002881, allocations: 4 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.534e-05/0.002936, allocations: 3.938 kB / 273.4 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.003058, allocations: 11.86 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.003274, allocations: 31.91 kB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003385, allocations: 43.84 kB / 273.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.003481, allocations: 16.17 kB / 273.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.003536, allocations: 19.92 kB / 273.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.00358, allocations: 15.97 kB / 273.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.003603, allocations: 4 kB / 273.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.003616, allocations: 8 kB / 273.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.003666, allocations: 15.92 kB / 273.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.0037, allocations: 11.94 kB / 273.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003831, allocations: 59.73 kB / 273.7 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003832, allocations: 0 / 273.7 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003833, allocations: 0 / 273.7 MB, free: 480 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.003837, allocations: 0 / 273.7 MB, free: 480 kB / 250.7 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.0005309/0.004368, allocations: 407.9 kB / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.004405, allocations: 8.031 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.004453, allocations: 12.89 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.004918, allocations: 148.4 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004931, allocations: 8.375 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004945, allocations: 4.375 kB / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.005233, allocations: 125.5 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005243, allocations: 4.188 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005253, allocations: 4.375 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.005261, allocations: 8.125 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.005307, allocations: 15.98 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.005478, allocations: 132.6 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.005651, allocations: 71.14 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.005726, allocations: 39.72 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.005738, allocations: 3.938 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.005773, allocations: 37.39 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005774, allocations: 4 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002314/0.006005, allocations: 85.73 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.006072, allocations: 63.39 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.006252, allocations: 203.6 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.006272, allocations: 29.7 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.006358, allocations: 134.9 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.00637, allocations: 4 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.006411, allocations: 19.38 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.006682, allocations: 496.1 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.006696, allocations: 4 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.006709, allocations: 7.984 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.006738, allocations: 11.69 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006739, allocations: 64 / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.495e-05/0.006814, allocations: 53.58 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006827, allocations: 8 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.00683, allocations: 0 / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006842, allocations: 0 / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.006892, allocations: 4 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.006899, allocations: 3.938 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.006912, allocations: 0 / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.006919, allocations: 3.984 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001235/0.007042, allocations: 160.6 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.007152, allocations: 73.69 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.007192, allocations: 20.77 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.007194, allocations: 0 / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007197, allocations: 0 / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.007202, allocations: 3.938 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.007326, allocations: 128.6 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007327, allocations: 3.938 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.007388, allocations: 15.98 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007389, allocations: 0 / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.007398, allocations: 4 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007399, allocations: 0 / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.0074, allocations: 4 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.00756, allocations: 116.3 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.00761, allocations: 27.83 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.007625, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.007644, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-06/0.007646, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.007657, allocations: 8 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.007773, allocations: 145.6 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007773, allocations: 0 / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.007955, allocations: 15.94 kB / 276.5 MB, free: 13.35 MB / 266.7 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.0001105/0.008065, allocations: 99.23 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.008171, allocations: 31.67 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008173, allocations: 0 / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.008173, allocations: 0 / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.008467, allocations: 43.19 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.00882, allocations: 175.3 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.993e-05/0.00891, allocations: 83.27 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.349e-05/0.008924, allocations: 3.984 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.008955, allocations: 16.56 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008955, allocations: 0 / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of Templates: time 0.003367/0.01232, allocations: 0.6203 MB / 277.6 MB, free: 12.24 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 4.60842700896319]