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.001512/0.001512, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001901/0.001901, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.559/1.559, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002225/0.002225, allocations: 71.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 53.4 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003108/0.3365, allocations: 1.602 MB / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3377, allocations: 0.5259 MB / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.3378, allocations: 8 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.3378, allocations: 7.875 kB / 433.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.338, allocations: 7.922 kB / 433.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.3383, allocations: 71.73 kB / 433.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3385, allocations: 47.8 kB / 433.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.3386, allocations: 11.98 kB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3387, allocations: 35.84 kB / 434 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.3387, allocations: 19.86 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3388, allocations: 0 / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.3388, allocations: 16 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3389, allocations: 15.92 kB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.3389, allocations: 23.81 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3391, allocations: 65.97 kB / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3391, allocations: 0 / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3391, allocations: 0 / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3391, allocations: 4 kB / 434.1 MB, free: 4.082 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.0005256/0.3396, allocations: 313.9 kB / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3396, allocations: 11.98 kB / 434.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3398, allocations: 16.89 kB / 434.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3401, allocations: 153 kB / 434.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3401, allocations: 8.375 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.3401, allocations: 384 / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.3404, allocations: 134.2 kB / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3405, allocations: 0 / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3405, allocations: 4 kB / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3405, allocations: 4 kB / 434.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3406, allocations: 23.92 kB / 434.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.3409, allocations: 222.3 kB / 435 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3411, allocations: 83.66 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.3412, allocations: 42.62 kB / 435.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3412, allocations: 0 / 435.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3413, allocations: 38.56 kB / 435.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.3413, allocations: 3.938 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003003/0.3416, allocations: 97.55 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3417, allocations: 122.7 kB / 435.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3418, allocations: 141.8 kB / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3419, allocations: 25.7 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.3419, allocations: 88.14 kB / 435.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3419, allocations: 7.953 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.342, allocations: 25.66 kB / 435.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3421, allocations: 318.8 kB / 435.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.3422, allocations: 16.23 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.3423, allocations: 48.28 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3424, allocations: 60.22 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3424, allocations: 3.938 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.3426, allocations: 85.58 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3426, allocations: 8 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3426, allocations: 3.984 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3426, allocations: 0 / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.3427, allocations: 8 kB / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3427, allocations: 4 kB / 436.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.3427, allocations: 15.89 kB / 436.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3428, allocations: 3.984 kB / 436.2 MB, free: 1.727 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.0001087/0.3429, allocations: 129.9 kB / 436.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.343, allocations: 53.64 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.343, allocations: 16.44 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.343, allocations: 0 / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.343, allocations: 0 / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.343, allocations: 0 / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3433, allocations: 125.2 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3433, allocations: 0 / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.3433, allocations: 15.92 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3433, allocations: 4 kB / 436.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3434, allocations: 4 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3434, allocations: 0 / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3434, allocations: 4 kB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3436, allocations: 185.1 kB / 436.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.3437, allocations: 19.94 kB / 436.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3437, allocations: 3.938 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.3438, allocations: 4 kB / 436.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.3438, allocations: 4.047 kB / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3438, allocations: 15.94 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.3439, allocations: 114 kB / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3439, allocations: 0 / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3442, allocations: 4 kB / 436.9 MB, free: 0.9648 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.0001283/0.3443, allocations: 107.2 kB / 437 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.3445, allocations: 43.92 kB / 437 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3445, allocations: 0 / 437 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.3445, allocations: 15.98 kB / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3449, allocations: 35.25 kB / 437.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3453, allocations: 193.6 kB / 437.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3454, allocations: 91.38 kB / 437.4 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3455, allocations: 4 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3455, allocations: 11.44 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3455, allocations: 0 / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of Templates: time 0.003715/0.3492, allocations: 0.7116 MB / 438.1 MB, free: 15.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.csv","/var/lib/jenkins/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: 4.629445008933544]