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.TickBasedStep.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.006157/0.006157, allocations: 103.5 kB / 21.97 MB, free: 5.207 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.001709/0.001709, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.469/1.469, allocations: 230.6 MB / 259 MB, free: 8.043 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [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.001973/0.001973, allocations: 63.89 kB / 379.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002863/0.3138, allocations: 1.437 MB / 434.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.314, allocations: 39.84 kB / 434.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.3141, allocations: 0 / 434.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.3141, allocations: 3.938 kB / 434.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.3142, allocations: 0 / 434.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3145, allocations: 23.95 kB / 434.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3146, allocations: 35.86 kB / 434.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3147, allocations: 7.984 kB / 434.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.3148, allocations: 11.94 kB / 434.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.3148, allocations: 19.92 kB / 434.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3149, allocations: 0 / 434.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.3149, allocations: 4 kB / 434.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.3149, allocations: 7.984 kB / 434.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.3149, allocations: 15.88 kB / 434.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3151, allocations: 31.69 kB / 434.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3151, allocations: 4 kB / 434.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3151, allocations: 0 / 434.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3151, allocations: 0 / 434.8 MB, free: 5.34 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.0004728/0.3155, allocations: 258.1 kB / 435.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3156, allocations: 19.97 kB / 435.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3156, allocations: 0.9375 kB / 435.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3159, allocations: 128.2 kB / 435.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3159, allocations: 384 / 435.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3159, allocations: 4.375 kB / 435.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.3163, allocations: 107.9 kB / 435.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3163, allocations: 4.188 kB / 435.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3163, allocations: 7.938 kB / 435.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3163, allocations: 0 / 435.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3164, allocations: 23.92 kB / 435.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3166, allocations: 128.7 kB / 435.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3167, allocations: 46.56 kB / 435.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.3168, allocations: 20.92 kB / 435.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3168, allocations: 4 kB / 435.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3168, allocations: 34.56 kB / 435.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3168, allocations: 0 / 435.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002753/0.3171, allocations: 85.48 kB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3172, allocations: 55.41 kB / 435.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.3173, allocations: 105.8 kB / 435.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3173, allocations: 25.7 kB / 435.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3173, allocations: 80.14 kB / 435.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3173, allocations: 7.938 kB / 435.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3174, allocations: 17.72 kB / 435.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3175, allocations: 322.8 kB / 436.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.3175, allocations: 4 kB / 436.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.3176, allocations: 27.44 kB / 436.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.3176, allocations: 39.38 kB / 436.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3176, allocations: 0 / 436.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.602e-05/0.3177, allocations: 69.45 kB / 436.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3178, allocations: 6.969 kB / 436.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3178, allocations: 4.312 kB / 436.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3178, allocations: 4 kB / 436.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.3178, allocations: 16.11 kB / 436.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3178, allocations: 0 / 436.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.3179, allocations: 7.938 kB / 436.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3179, allocations: 7.984 kB / 436.4 MB, free: 3.492 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001001/0.318, allocations: 113.8 kB / 436.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3181, allocations: 61.8 kB / 436.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.3181, allocations: 11.67 kB / 436.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3181, allocations: 3.984 kB / 436.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3181, allocations: 4 kB / 436.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3181, allocations: 0 / 436.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3183, allocations: 128.7 kB / 436.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3183, allocations: 0 / 436.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.3183, allocations: 4 kB / 436.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3183, allocations: 0 / 436.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3183, allocations: 3.938 kB / 436.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3183, allocations: 4 kB / 436.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3183, allocations: 0 / 436.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3185, allocations: 89.06 kB / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.3185, allocations: 4 kB / 436.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3185, allocations: 11.86 kB / 436.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.3185, allocations: 7.938 kB / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.3185, allocations: 0 / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3185, allocations: 0 / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.3186, allocations: 83.28 kB / 437 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3186, allocations: 0 / 437 MB, free: 2.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00018/0.3188, allocations: 4 kB / 437 MB, free: 2.887 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001184/0.3189, allocations: 103.2 kB / 437.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.319, allocations: 31.92 kB / 437.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.319, allocations: 0 / 437.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.319, allocations: 0 / 437.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.3193, allocations: 24.02 kB / 437.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.3196, allocations: 139.3 kB / 437.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3199, allocations: 0.6848 MB / 437.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.3199, allocations: 11.38 kB / 438 MB, free: 1.828 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3199, allocations: 0 / 438 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Templates: time 0.002269/0.3222, allocations: 0.5962 MB / 438.6 MB, free: 1.234 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 6.766011438099667]