Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00194/0.00194, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [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.002546/0.002546, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.578/1.578, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003068/0.3229, allocations: 1.468 MB / 433.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.3233, allocations: 95.69 kB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.3234, allocations: 0 / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.3234, allocations: 7.922 kB / 433.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.3235, allocations: 7.938 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3238, allocations: 14.48 kB / 433.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3239, allocations: 31.86 kB / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3241, allocations: 15.97 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.3241, allocations: 7.938 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.3241, allocations: 15.92 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3242, allocations: 4 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.3242, allocations: 4 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.3242, allocations: 4 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.3242, allocations: 11.94 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.3243, allocations: 23.7 kB / 433.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3243, allocations: 3.938 kB / 433.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3243, allocations: 4 kB / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3244, allocations: 0 / 433.8 MB, free: 5.66 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.0005424/0.3249, allocations: 341.4 kB / 434.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3249, allocations: 15.97 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.325, allocations: 8.891 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3253, allocations: 180.3 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3253, allocations: 4.375 kB / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3253, allocations: 384 / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3257, allocations: 107.9 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3257, allocations: 192 / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3257, allocations: 7.922 kB / 434.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3257, allocations: 0 / 434.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.3258, allocations: 23.92 kB / 434.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.326, allocations: 157.6 kB / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3262, allocations: 58.48 kB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.3262, allocations: 24.92 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3262, allocations: 0 / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3263, allocations: 30.56 kB / 434.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3263, allocations: 0 / 434.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.3265, allocations: 73.55 kB / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3266, allocations: 55.41 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3267, allocations: 113.8 kB / 434.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3267, allocations: 25.7 kB / 435 MB, free: 4.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3268, allocations: 84.14 kB / 435 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.3268, allocations: 0 / 435 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3268, allocations: 21.7 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.327, allocations: 314.8 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.327, allocations: 0 / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.327, allocations: 31.44 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.3271, allocations: 39.36 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3271, allocations: 0 / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.616e-05/0.3272, allocations: 57.59 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3272, allocations: 4 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3272, allocations: 7.922 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3272, allocations: 4 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.3273, allocations: 12.16 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3273, allocations: 4 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.3273, allocations: 0 / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3273, allocations: 4 kB / 435.5 MB, free: 3.633 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.883e-05/0.3274, allocations: 110 kB / 435.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3275, allocations: 65.66 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.3276, allocations: 11.84 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3276, allocations: 0 / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3276, allocations: 0 / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3276, allocations: 3.938 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3277, allocations: 153.7 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3277, allocations: 256 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.3278, allocations: 15.98 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3278, allocations: 0 / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3278, allocations: 7.938 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3278, allocations: 4 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3278, allocations: 0 / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3279, allocations: 85.06 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.328, allocations: 77.11 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.328, allocations: 7.875 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.328, allocations: 4 kB / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-06/0.3281, allocations: 0 / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3281, allocations: 11.98 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.113e-05/0.3281, allocations: 79.28 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3281, allocations: 0 / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.3283, allocations: 4 kB / 436.2 MB, free: 2.898 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001254/0.3284, allocations: 103.2 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.3286, allocations: 23.98 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3286, allocations: 256 / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.3286, allocations: 4 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3288, allocations: 23.92 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.3291, allocations: 121.5 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3294, allocations: 0.6768 MB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.3295, allocations: 4 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.3295, allocations: 11.42 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3295, allocations: 3.938 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Templates: time 0.002671/0.3322, allocations: 331.7 kB / 437.4 MB, free: 1.551 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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: 4.827547957189381]