Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0015/0.0015, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001735/0.001735, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.602/1.602, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.002808/0.002808, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3763, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003365/0.3796, allocations: 1.457 MB / 433.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.38, allocations: 99.69 kB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3801, allocations: 0 / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.3801, allocations: 0 / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.3802, allocations: 3.938 kB / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3805, allocations: 27.91 kB / 433.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3806, allocations: 27.92 kB / 433.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3808, allocations: 4 kB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.3808, allocations: 15.92 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3809, allocations: 11.94 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3809, allocations: 4 kB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.3809, allocations: 0 / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3809, allocations: 3.984 kB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.381, allocations: 15.88 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3811, allocations: 31.69 kB / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3811, allocations: 0 / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3811, allocations: 0 / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.3811, allocations: 0 / 433.7 MB, free: 5.676 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.0005721/0.3817, allocations: 341.2 kB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3817, allocations: 8.031 kB / 434.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3818, allocations: 4.938 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.382, allocations: 172.3 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.3821, allocations: 8.375 kB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3821, allocations: 4.375 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3824, allocations: 103.8 kB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3824, allocations: 192 / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3824, allocations: 3.938 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3824, allocations: 0 / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.031e-05/0.3825, allocations: 15.98 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.3827, allocations: 161.5 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3829, allocations: 50.55 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3829, allocations: 16.89 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.383, allocations: 7.984 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.383, allocations: 34.5 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.383, allocations: 0 / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000257/0.3833, allocations: 69.61 kB / 434.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.3833, allocations: 59.41 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3835, allocations: 105.8 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3835, allocations: 25.7 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3835, allocations: 84.14 kB / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.3836, allocations: 0 / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3836, allocations: 17.72 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3838, allocations: 314.8 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.3838, allocations: 11.94 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.3838, allocations: 31.56 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.3839, allocations: 31.38 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3839, allocations: 3.984 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.585e-05/0.384, allocations: 53.73 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.384, allocations: 8 kB / 435.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.384, allocations: 7.922 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.384, allocations: 0 / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.3841, allocations: 7.984 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3841, allocations: 0 / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.3841, allocations: 4 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.3841, allocations: 0 / 435.5 MB, free: 3.691 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 0.0001091/0.3842, allocations: 121.9 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3843, allocations: 57.64 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3844, allocations: 7.438 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3844, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3844, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3844, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3845, allocations: 157.7 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3845, allocations: 0 / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.3845, allocations: 4.25 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3845, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3845, allocations: 7.938 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3845, allocations: 4 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3845, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3847, allocations: 85.05 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3847, allocations: 81.06 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3847, allocations: 3.938 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.3848, allocations: 3.938 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-06/0.3848, allocations: 4 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3848, allocations: 4 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.309e-05/0.3848, allocations: 83.28 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3848, allocations: 0 / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.385, allocations: 4 kB / 436.1 MB, free: 2.969 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.0001273/0.3852, allocations: 103.2 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.3853, allocations: 19.92 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3853, allocations: 7.938 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3853, allocations: 256 / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3855, allocations: 20 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.3858, allocations: 117.5 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3862, allocations: 0.6845 MB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.508e-05/0.3862, allocations: 0 / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.3862, allocations: 11.44 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3862, allocations: 0 / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Templates: time 0.002715/0.3889, allocations: 331 kB / 437.4 MB, free: 1.633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.853089162148535]