Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0+maint.om/package.mo): time 0.0002469/0.0002469, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0002102/0.0002102, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.1026/0.1026, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,startTime=0,stopTime=0.09,tolerance=1e-06,numberOfIntervals=5010,outputFormat="mat",variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,startTime=0,stopTime=0.09,tolerance=1e-06,numberOfIntervals=5010,outputFormat="mat",variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.994e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001194/0.001213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0002625/0.001476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.001516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.001574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.001642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.001762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.001827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.001889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.001929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.001969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.001981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.001988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.002018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.002037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 7.554e-05/0.002112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.00212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.894e-06/0.002122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.332e-06/0.002129, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002811/0.00241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.002465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.002505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.002647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.002664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.002678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.002864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.002869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.002888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-06/0.00289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.002911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.486e-05/0.002985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.003121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.003151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.003156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.003169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=8): time 2.855e-06/0.003172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=8): time 9.31e-05/0.003265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.003302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.539e-05/0.003347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.003364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.003376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.003382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.003406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.217e-05/0.003418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.003422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-06/0.003427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 1.323e-05/0.00344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.003441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 3.125e-05/0.003473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.003483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.003486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.003497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.00352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.003525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.003541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.003545, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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 4.689e-05/0.003592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.003639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.003672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.003678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.326e-05/0.003744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.003746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.003793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.003796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.003809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.003811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.003813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 2.699e-05/0.00384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.003885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.003931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.003948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.003951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.003958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.167e-05/0.00398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.024e-06/0.003982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002564/0.004239, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.511e-05/0.004334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.322e-05/0.004397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.004403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.004404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.004583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.004957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.004989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.705e-05/0.005006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.005081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.883e-05/0.005099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0006094/0.005709, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.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.7020803489722311]