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.00108/0.00108, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001185/0.001185, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.588e-05/5.74e-05, allocations: 6.312 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003008/0.003065, allocations: 1.649 MB / 274.7 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004226, allocations: 0.553 MB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.004342, allocations: 4 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.924e-05/0.004421, allocations: 7.875 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.004604, allocations: 3.938 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.005045, allocations: 63.75 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.005193, allocations: 59.7 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.005308, allocations: 12 kB / 275.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005476, allocations: 35.89 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.005538, allocations: 23.92 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.005558, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.392e-05/0.005602, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.005657, allocations: 19.91 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.005696, allocations: 15.98 kB / 275.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005864, allocations: 55.7 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.005868, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005869, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005874, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 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.0004948/0.006369, allocations: 416.2 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.006412, allocations: 11.98 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.006574, allocations: 20.89 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.00678, allocations: 148.4 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.006796, allocations: 4.375 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.00681, allocations: 8.375 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.007096, allocations: 141.2 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007104, allocations: 12.19 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.007116, allocations: 8.312 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.007126, allocations: 3.938 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.007165, allocations: 11.98 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.007531, allocations: 287.1 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.00771, allocations: 93.17 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.007779, allocations: 35.19 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.007802, allocations: 4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.007829, allocations: 37.33 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.007831, allocations: 4 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002208/0.008052, allocations: 81.5 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.008122, allocations: 102.8 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.008251, allocations: 199.3 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.008266, allocations: 29.7 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.00832, allocations: 134.9 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.00834, allocations: 3.953 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.008383, allocations: 31.31 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.008517, allocations: 0.4884 MB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.008539, allocations: 8.25 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.008564, allocations: 23.36 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.008614, allocations: 27.31 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008616, allocations: 4 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.008717, allocations: 53.56 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.008733, allocations: 8 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.008738, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.008753, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.008816, allocations: 7.984 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.008824, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.00885, allocations: 8.031 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.008858, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.867e-05/0.008956, allocations: 160.6 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.009044, allocations: 57.52 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.009092, allocations: 12.72 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009095, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.0091, allocations: 4 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.009107, allocations: 7.969 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.009278, allocations: 132.6 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.009281, allocations: 3.938 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.00933, allocations: 15.98 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.009333, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.009346, allocations: 3.938 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.009349, allocations: 4 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.00935, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.009524, allocations: 227.3 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.009576, allocations: 31.86 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.009606, allocations: 3.938 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.009666, allocations: 4 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.009711, allocations: 3.984 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.00972, allocations: 8 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.00979, allocations: 145.9 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00979, allocations: 0 / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01002, allocations: 8 kB / 278.7 MB, free: 11.64 MB / 266.7 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.0001024/0.01012, allocations: 95.25 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01023, allocations: 31.61 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01023, allocations: 0 / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.01025, allocations: 15.67 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01061, allocations: 29.55 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.01119, allocations: 199.7 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.161e-05/0.01125, allocations: 63.34 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.01128, allocations: 4 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01131, allocations: 16.48 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01132, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Templates: time 0.003071/0.01439, allocations: 0.6782 MB / 279.9 MB, free: 10.46 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.994136529043317]