Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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 4.1.0+maint.om/package.mo): time 0.0002712/0.0002712, allocations: 0 / 0, free: 0 / 0 " [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.0002804/0.0002804, allocations: 0 / 0, free: 0 / 0 " [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 0.1032/0.1032, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,startTime=0,stopTime=0.2,tolerance=1e-06,numberOfIntervals=5011,outputFormat="mat",variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,startTime=0,stopTime=0.2,tolerance=1e-06,numberOfIntervals=5011,outputFormat="mat",variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.404e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002449/0.002483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0003854/0.002868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.002921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.222e-05/0.002993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.003055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.003264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 8e-05/0.003344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.003418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.003464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.045e-05/0.003495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.003508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.156e-06/0.003516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.003557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.003577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 8.753e-05/0.003664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.003674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.412e-06/0.003675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.815e-06/0.003683, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005985/0.004281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.314e-05/0.004354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.004413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.004599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.004614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.004633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.004919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.004954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.00498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.005007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.005252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.005314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.005334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.479e-06/0.005339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.005353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=4): time 3.637e-06/0.005357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=4): time 0.000134/0.005491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.005534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.005594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.005612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.005631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.005643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.005678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.609e-05/0.005695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.005701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.005719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.005747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 5.379e-05/0.005803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.005817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.005825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.005841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.005889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.005895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.005926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.005933, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.723e-05/0.006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.006052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.006087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.006107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.006112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.006465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.006468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.006499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.006503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.006521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.006524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.006526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/0.006599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.006646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.006846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.006959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.00699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.006999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.372e-05/0.007032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.096e-06/0.007035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004618/0.007497, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001164/0.007614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 9.09e-05/0.007704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.007713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.007725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.00833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.008612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.008655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.89e-05/0.008684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.008768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.839e-05/0.008786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001032/0.009818, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.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.6745267971418798]