Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 104 kB / 19.61 MB, free: 2.703 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 190.2 kB / 22.76 MB, free: 5.488 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 225.6 MB / 251.4 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 369.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3419, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003144/0.345, allocations: 1.603 MB / 422.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.346, allocations: 0.4947 MB / 423.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.3461, allocations: 4 kB / 423.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.3461, allocations: 3.938 kB / 423.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.3463, allocations: 15.86 kB / 423.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3466, allocations: 54.81 kB / 423.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3467, allocations: 51.84 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3468, allocations: 8.188 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.3469, allocations: 23.86 kB / 423.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.347, allocations: 27.84 kB / 423.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.347, allocations: 8 kB / 423.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.347, allocations: 4 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.347, allocations: 15.92 kB / 423.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.3471, allocations: 23.81 kB / 423.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3472, allocations: 68.92 kB / 423.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3472, allocations: 0 / 423.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3473, allocations: 0 / 423.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3473, allocations: 0 / 423.7 MB, free: 12.74 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.0005565/0.3478, allocations: 383.1 kB / 424.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3479, allocations: 16.03 kB / 424.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3479, allocations: 8.891 kB / 424.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3482, allocations: 196.2 kB / 424.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3482, allocations: 4.375 kB / 424.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3482, allocations: 8.312 kB / 424.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.3485, allocations: 142 kB / 424.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3485, allocations: 0 / 424.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3485, allocations: 0 / 424.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3485, allocations: 0 / 424.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.3486, allocations: 27.92 kB / 424.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.349, allocations: 290.5 kB / 424.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.3493, allocations: 160.9 kB / 424.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.3494, allocations: 34.64 kB / 424.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3494, allocations: 7.984 kB / 425 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3494, allocations: 38.5 kB / 425 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3494, allocations: 0 / 425 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002898/0.3497, allocations: 93.56 kB / 425.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.3498, allocations: 111 kB / 425.2 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3499, allocations: 138.2 kB / 425.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.35, allocations: 29.64 kB / 425.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.35, allocations: 92.12 kB / 425.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.35, allocations: 7.953 kB / 425.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3501, allocations: 21.67 kB / 425.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3502, allocations: 326.8 kB / 425.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.3503, allocations: 12 kB / 425.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.3503, allocations: 44.28 kB / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3505, allocations: 68.2 kB / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3505, allocations: 0 / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001653/0.3506, allocations: 85.55 kB / 426 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3506, allocations: 8 kB / 426 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3506, allocations: 0 / 426 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3507, allocations: 0 / 426 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.3507, allocations: 11.98 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3507, allocations: 7.938 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3508, allocations: 12.08 kB / 426 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3508, allocations: 0 / 426 MB, free: 10.07 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.0001121/0.3509, allocations: 125.7 kB / 426.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.351, allocations: 61.86 kB / 426.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.3511, allocations: 16.23 kB / 426.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3511, allocations: 4 kB / 426.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3511, allocations: 0 / 426.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3511, allocations: 0 / 426.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3513, allocations: 177.6 kB / 426.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3513, allocations: 3.984 kB / 426.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3514, allocations: 12 kB / 426.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3514, allocations: 4 kB / 426.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3514, allocations: 0 / 426.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3514, allocations: 0 / 426.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3514, allocations: 11.88 kB / 426.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3516, allocations: 193.1 kB / 426.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.3517, allocations: 92.98 kB / 426.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3517, allocations: 8 kB / 426.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.3518, allocations: 0 / 426.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3518, allocations: 4 kB / 426.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3518, allocations: 0 / 426.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.08e-05/0.3519, allocations: 113.5 kB / 426.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 426.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3521, allocations: 8 kB / 426.9 MB, free: 9.145 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.0001332/0.3523, allocations: 111.1 kB / 427 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3524, allocations: 43.91 kB / 427 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3524, allocations: 0 / 427 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.3525, allocations: 11.98 kB / 427 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3528, allocations: 31.95 kB / 427 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3533, allocations: 219 kB / 427.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3536, allocations: 0.6961 MB / 428 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.3537, allocations: 15.42 kB / 428 MB, free: 7.949 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3537, allocations: 0 / 428 MB, free: 7.949 MB / 334.1 MB Notification: Performance of Templates: time 0.002679/0.3563, allocations: 0.862 MB / 428.8 MB, free: 7.094 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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