Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001706/0.001706, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002181/0.002181, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.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.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.88 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 53.4 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.002926/0.2553, allocations: 1.624 MB / 434 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2563, allocations: 0.5142 MB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.2564, allocations: 4 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.834e-05/0.2564, allocations: 11.86 kB / 434.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2566, allocations: 11.88 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2569, allocations: 67.8 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.257, allocations: 55.78 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.2571, allocations: 4 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2572, allocations: 35.84 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.2573, allocations: 23.86 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.2573, allocations: 4 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.2574, allocations: 4 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.2574, allocations: 15.92 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.2575, allocations: 23.86 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2576, allocations: 66.34 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2576, allocations: 4 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2576, allocations: 4 kB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2576, allocations: 0 / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004858/0.2581, allocations: 317.9 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2582, allocations: 11.98 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.2583, allocations: 20.88 kB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.2586, allocations: 141.1 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.2586, allocations: 4.375 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2586, allocations: 4.375 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2589, allocations: 134.2 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2589, allocations: 4 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2589, allocations: 0 / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2589, allocations: 0 / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.259, allocations: 27.92 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.2594, allocations: 218.3 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2596, allocations: 87.66 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.2596, allocations: 42.62 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2597, allocations: 4 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2597, allocations: 30.56 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.2597, allocations: 3.984 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.26, allocations: 97.55 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.2601, allocations: 115 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2602, allocations: 141.8 kB / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2602, allocations: 25.7 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.2603, allocations: 100.1 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2603, allocations: 7.938 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.2604, allocations: 25.67 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2605, allocations: 318.8 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.2606, allocations: 12 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.2606, allocations: 44.28 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.2607, allocations: 68.16 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2608, allocations: 3.938 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001847/0.2609, allocations: 89.53 kB / 436.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.261, allocations: 8 kB / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.261, allocations: 0 / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.261, allocations: 128 / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.261, allocations: 12 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.261, allocations: 4 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.2611, allocations: 15.88 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2611, allocations: 0 / 437 MB, free: 1.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001024/0.2612, allocations: 125.7 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.2613, allocations: 57.64 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.2613, allocations: 12.34 kB / 437.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2613, allocations: 0 / 437.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2613, allocations: 3.984 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2613, allocations: 0 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2615, allocations: 121.2 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2615, allocations: 8 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.2616, allocations: 15.92 kB / 437.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2616, allocations: 4 kB / 437.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2616, allocations: 0 / 437.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2616, allocations: 0 / 437.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2616, allocations: 4 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.2618, allocations: 185.1 kB / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2618, allocations: 15.94 kB / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2618, allocations: 4 kB / 437.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.2619, allocations: 4 kB / 437.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.262, allocations: 12.27 kB / 437.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.262, allocations: 3.938 kB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.262, allocations: 114 kB / 437.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.262, allocations: 3.938 kB / 437.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2623, allocations: 8 kB / 437.6 MB, free: 0.9766 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000113/0.2624, allocations: 103.2 kB / 437.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.2626, allocations: 48.09 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2626, allocations: 0 / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.2626, allocations: 8 kB / 437.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.263, allocations: 47.75 kB / 437.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.2634, allocations: 222.9 kB / 438.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.2635, allocations: 83.39 kB / 438.1 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.2635, allocations: 11.44 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2635, allocations: 4.188 kB / 438.2 MB, free: 396 kB / 334.1 MB Notification: Performance of Templates: time 0.002714/0.2662, allocations: 0.8897 MB / 439 MB, free: 15.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.810016829054803]