Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 214.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2353, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002811/0.2382, allocations: 1.477 MB / 433.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.2383, allocations: 43.78 kB / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.2384, allocations: 0 / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.2384, allocations: 3.938 kB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.2385, allocations: 7.922 kB / 433.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2387, allocations: 27.97 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.2388, allocations: 35.92 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.2389, allocations: 11.98 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.239, allocations: 11.94 kB / 434 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.239, allocations: 19.92 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.239, allocations: 7.984 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.239, allocations: 0 / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.2391, allocations: 11.98 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2391, allocations: 11.94 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2392, allocations: 42.77 kB / 434.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2392, allocations: 3.938 kB / 434.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2392, allocations: 7.938 kB / 434.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2392, allocations: 0 / 434.1 MB, free: 5.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005094/0.2397, allocations: 278 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2398, allocations: 12.03 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.2398, allocations: 4.891 kB / 434.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.24, allocations: 126.5 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.24, allocations: 384 / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.24, allocations: 4.375 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.2406, allocations: 159.7 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2406, allocations: 192 / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2406, allocations: 3.938 kB / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2406, allocations: 0 / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2409, allocations: 47.94 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.241, allocations: 117.2 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2414, allocations: 82.5 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2415, allocations: 40.83 kB / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2415, allocations: 0 / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.2416, allocations: 34.56 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2416, allocations: 4 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004838/0.242, allocations: 117.5 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2421, allocations: 55.41 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.2422, allocations: 101.9 kB / 435.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2422, allocations: 29.69 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.2423, allocations: 88.14 kB / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2423, allocations: 3.953 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.2423, allocations: 21.66 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2424, allocations: 314.8 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.2425, allocations: 8 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.2425, allocations: 27.44 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.2425, allocations: 39.38 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2425, allocations: 0 / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.433e-05/0.2426, allocations: 61.62 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2426, allocations: 4 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2427, allocations: 128 / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2427, allocations: 12.06 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.2427, allocations: 11.98 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2427, allocations: 4 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.2428, allocations: 3.938 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2428, allocations: 4 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.711e-05/0.2428, allocations: 113.8 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.2431, allocations: 85.59 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2432, allocations: 15.92 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2432, allocations: 3.938 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2432, allocations: 3.938 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2432, allocations: 4 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.2433, allocations: 109.3 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2433, allocations: 0 / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.2434, allocations: 11.98 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2434, allocations: 0 / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2434, allocations: 0 / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2434, allocations: 7.938 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2434, allocations: 3.938 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.2437, allocations: 117 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.2437, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2437, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.2438, allocations: 15.98 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-06/0.2438, allocations: 3.938 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2438, allocations: 3.984 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.2439, allocations: 87.28 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2439, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.2441, allocations: 4 kB / 436.4 MB, free: 2.367 MB / 334.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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000102/0.2442, allocations: 95.53 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.2444, allocations: 43.89 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2444, allocations: 4.25 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2444, allocations: 4 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2447, allocations: 40.53 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.2451, allocations: 159.2 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.764e-05/0.2452, allocations: 71.33 kB / 436.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2452, allocations: 11.44 kB / 436.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2452, allocations: 0 / 436.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Templates: time 0.002119/0.2474, allocations: 0.6981 MB / 437.5 MB, free: 1.195 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.678407147992402]