Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.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.001368/0.001368, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001548/0.001548, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.00334/0.2393, allocations: 1.937 MB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2407, allocations: 0.7168 MB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.2408, allocations: 3.938 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.159e-05/0.2409, allocations: 19.73 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.241, allocations: 55.52 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.2414, allocations: 147.7 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.2418, allocations: 359 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2419, allocations: 40.98 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.2422, allocations: 155.6 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.2424, allocations: 167.4 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2425, allocations: 32 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.2426, allocations: 35.98 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.2427, allocations: 83.73 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2428, allocations: 107.5 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.2431, allocations: 308.4 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2431, allocations: 0 / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2431, allocations: 0 / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2431, allocations: 0 / 436.5 MB, free: 2.566 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001572/0.2447, allocations: 0.6713 MB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2448, allocations: 8.031 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.2451, allocations: 60.7 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.2455, allocations: 215 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.2456, allocations: 20.38 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.2456, allocations: 28.36 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.2466, allocations: 363 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2466, allocations: 0 / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.2466, allocations: 11.98 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2466, allocations: 4 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.2475, allocations: 247.8 kB / 438.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2485, allocations: 0.5703 MB / 438.7 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/0.2495, allocations: 340.9 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.2501, allocations: 177.6 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2501, allocations: 7.938 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/0.251, allocations: 394.8 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.251, allocations: 0 / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002016/0.253, allocations: 0.7464 MB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2531, allocations: 75.38 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2533, allocations: 191.8 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.2533, allocations: 41.7 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2534, allocations: 137 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2535, allocations: 111.2 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2537, allocations: 94.17 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2538, allocations: 342.8 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.2543, allocations: 242.2 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.2549, allocations: 318.6 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.2558, allocations: 438.3 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2558, allocations: 8 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00128/0.2571, allocations: 0.661 MB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2571, allocations: 93.27 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2571, allocations: 0 / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2572, allocations: 11.98 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.2576, allocations: 71.89 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.2576, allocations: 4 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.2579, allocations: 63.73 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.258, allocations: 23.98 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 46 (signalExtrema3.t_min,$PRE.signalExtrema3.t_min,signalExtrema3.t_max,$PRE.signalExtrema3.t_max,signalExtrema2.t_min,$PRE.signalExtrema2.t_min,signalExtrema2.t_max,$PRE.signalExtrema2.t_max,signalExtrema1.t_min,$PRE.signalExtrema1.t_min,signalExtrema1.t_max,$PRE.signalExtrema1.t_max,$whenCondition5,signalExtrema2.y_max,$PRE.signalExtrema2.y_max,signalExtrema2.y_min,$PRE.signalExtrema2.y_min,signalExtrema1.y_max,$PRE.signalExtrema1.y_max,signalExtrema1.y_min,$PRE.signalExtrema1.y_min,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,signalExtrema3.y_max,$PRE.signalExtrema3.y_max,signalExtrema3.y_min,$PRE.signalExtrema3.y_min,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 3 * 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.0001992/0.2582, allocations: 169.8 kB / 443.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.2582, allocations: 31.84 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.2583, allocations: 34.98 kB / 443.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.2583, allocations: 0 / 443.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2583, allocations: 7.938 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2584, allocations: 27.75 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.2585, allocations: 19.97 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.2588, allocations: 63.92 kB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.259, allocations: 51.86 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001837/0.2608, allocations: 0.6928 MB / 444.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002205/0.263, allocations: 0.9939 MB / 445.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006103/0.2636, allocations: 211.8 kB / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2638, allocations: 137.5 kB / 445.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.2638, allocations: 0 / 445.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2649, allocations: 0.5702 MB / 446.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of SimCode: time 0.001085/0.266, allocations: 0.8942 MB / 447.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Templates: time 0.01112/0.2772, allocations: 5.911 MB / 453 MB, free: 1.598 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemonstrateContinuousSignalExtrema/DemonstrateContinuousSignalExtrema.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_min,signalExtrema1.t_max,signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_min,signalExtrema2.t_max,signalExtrema3.y_min,signalExtrema3.y_max,signalExtrema3.t_min,signalExtrema3.t_max Variables in the result:add.k1,add.k2,amplitude.amplitude,amplitude.continuous,amplitude.f,amplitude.offset,amplitude.phase,amplitude.startTime,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,sawTooth.amplitude,sawTooth.nperiod,sawTooth.offset,sawTooth.period,sawTooth.startTime,sawTooth1.amplitude,sawTooth1.nperiod,sawTooth1.offset,sawTooth1.period,sawTooth1.startTime,signalExtrema1.T,signalExtrema1.t_max,signalExtrema1.t_min,signalExtrema1.y_max,signalExtrema1.y_min,signalExtrema2.T,signalExtrema2.t_max,signalExtrema2.t_min,signalExtrema2.y_max,signalExtrema2.y_min,signalExtrema3.T,signalExtrema3.t_max,signalExtrema3.t_min,signalExtrema3.y_max,signalExtrema3.y_min,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine1.amplitude,sine1.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,time [Calling sys.exit(0), Time elapsed: 4.637842683005147]