Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 66.27 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002631/0.1351, allocations: 0.9532 MB / 379.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.1354, allocations: 123.5 kB / 380 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.1355, allocations: 0 / 380 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.1356, allocations: 15.8 kB / 380 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1357, allocations: 7.938 kB / 380 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.136, allocations: 39.91 kB / 380.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1361, allocations: 43.91 kB / 380.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1362, allocations: 12.17 kB / 380.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.1363, allocations: 15.94 kB / 380.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.1363, allocations: 15.86 kB / 380.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1363, allocations: 4 kB / 380.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1363, allocations: 4 kB / 380.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.1364, allocations: 15.92 kB / 380.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.1364, allocations: 19.88 kB / 380.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1366, allocations: 59.61 kB / 380.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1366, allocations: 0 / 380.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1366, allocations: 3.938 kB / 380.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1366, allocations: 4 kB / 380.3 MB, free: 14.12 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.0005393/0.1371, allocations: 298.1 kB / 380.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1371, allocations: 15.92 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1372, allocations: 16.83 kB / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1374, allocations: 134.4 kB / 380.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1374, allocations: 4.375 kB / 380.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1374, allocations: 12.31 kB / 380.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1377, allocations: 127.8 kB / 380.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1377, allocations: 3.938 kB / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1377, allocations: 0 / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1378, allocations: 0 / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.1378, allocations: 19.98 kB / 380.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.138, allocations: 117.3 kB / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1381, allocations: 58.66 kB / 381 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1382, allocations: 36.89 kB / 381.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1382, allocations: 8 kB / 381.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1382, allocations: 34.5 kB / 381.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1382, allocations: 0 / 381.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002239/0.1385, allocations: 85.58 kB / 381.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.1385, allocations: 63.48 kB / 381.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1387, allocations: 136.6 kB / 381.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1387, allocations: 29.7 kB / 381.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1387, allocations: 92.12 kB / 381.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.1387, allocations: 0 / 381.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1388, allocations: 25.7 kB / 381.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1389, allocations: 314.8 kB / 381.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.139, allocations: 15.98 kB / 381.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.139, allocations: 54.88 kB / 381.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1391, allocations: 74.73 kB / 382 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1391, allocations: 0 / 382 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001281/0.1393, allocations: 93.45 kB / 382.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1393, allocations: 8 kB / 382.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1393, allocations: 3.938 kB / 382.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1393, allocations: 4 kB / 382.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.1394, allocations: 19.98 kB / 382.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1394, allocations: 4 kB / 382.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.1394, allocations: 11.89 kB / 382.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1394, allocations: 8.25 kB / 382.1 MB, free: 12.01 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.0001083/0.1395, allocations: 117.8 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.1396, allocations: 73.64 kB / 382.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.1397, allocations: 20.7 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1397, allocations: 4 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1397, allocations: 192 / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1397, allocations: 0 / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.224e-05/0.1398, allocations: 117.2 kB / 382.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1398, allocations: 0 / 382.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.1398, allocations: 19.92 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1398, allocations: 4 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1398, allocations: 0 / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1398, allocations: 3.938 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1398, allocations: 0 / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.14, allocations: 101.1 kB / 382.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.14, allocations: 19.88 kB / 382.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.14, allocations: 0 / 382.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.14, allocations: 7.938 kB / 382.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-06/0.1401, allocations: 0 / 382.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1401, allocations: 4 kB / 382.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.1401, allocations: 106.2 kB / 382.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1401, allocations: 4 kB / 382.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1403, allocations: 8 kB / 382.7 MB, free: 11.34 MB / 350.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 9.876e-05/0.1404, allocations: 99.17 kB / 382.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1406, allocations: 44.38 kB / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1406, allocations: 4 kB / 382.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1406, allocations: 0 / 382.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1409, allocations: 47.67 kB / 382.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.1412, allocations: 165.8 kB / 383.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.1413, allocations: 83.31 kB / 383.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.1413, allocations: 7.984 kB / 383.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1413, allocations: 12.5 kB / 383.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1413, allocations: 0 / 383.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Templates: time 0.003205/0.1445, allocations: 0.6687 MB / 383.9 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.41300509206485]