Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0002471/0.0002471, allocations: 0 / 0, free: 0 / 0 " [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.0002431/0.0002431, allocations: 0 / 0, free: 0 / 0 " [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 0.1574/0.1574, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=10000,outputFormat="mat",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_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=10000,outputFormat="mat",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_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.236e-05/4.41e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.00382/0.003864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001784/0.005648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.005741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.829e-05/0.005809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.005981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.00637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003559/0.006726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.006884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.007397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.007576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.007626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.007689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.007763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.007867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000331/0.008198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.672e-05/0.008235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.977e-06/0.008239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.341e-05/0.008252, allocations: 0 / 0, free: 0 / 0 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.001177/0.009429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001178/0.009546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.009804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.0101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.491e-05/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.01027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.01079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.01086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.01178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.01203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.01213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.01215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.01253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=41): time 6.172e-06/0.01254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=41): time 0.0004604/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.01304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.01322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.01329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.01338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.01349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.429e-05/0.01351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/0.0136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.01391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=63) (initialization): time 0.0003635/0.01428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.01431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.01461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.01463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.01485, allocations: 0 / 0, free: 0 / 0 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.0001671/0.01502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.01508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.67e-05/0.01518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.01518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.01519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.0152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.01557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.01557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.01561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.01609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.01627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.01644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.01658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.01663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 4.028e-05/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.158e-06/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003967/0.01707, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (signalExtrema3.x,signalExtrema1.x,signalExtrema2.x) * Number of discrete variables: 28 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,sawTooth1.T_start,sawTooth1.count,signalExtrema3.y_min,signalExtrema3.y_max,signalExtrema3.t_min,signalExtrema3.t_max,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,sawTooth.T_start,sawTooth.count,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_min,signalExtrema1.t_max,signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_min,signalExtrema2.t_max) * Number of discrete states: 18 (sawTooth.count,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.y_min,signalExtrema1.t_min,signalExtrema1.u,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.y_min,signalExtrema2.t_min,signalExtrema2.u,pulse.count,sawTooth1.count,signalExtrema3.y_max,signalExtrema3.t_max,signalExtrema3.y_min,signalExtrema3.t_min,signalExtrema3.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.000256/0.01733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000378/0.0177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.01771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.01786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.01818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.01893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 9.726e-05/0.0191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.01926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.925e-05/0.0193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002004/0.02131, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemonstrateContinuousSignalExtrema/DemonstrateContinuousSignalExtrema.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: 0.8559693060815334]