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.Sample1.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.001527/0.001527, 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.001575/0.001575, allocations: 209.4 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.579/1.579, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [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.002076/0.002076, allocations: 67.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003402/0.3349, allocations: 1.522 MB / 433.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000475/0.3354, allocations: 135.5 kB / 433.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3355, allocations: 4 kB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.3355, allocations: 3.938 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.3357, allocations: 7.922 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.336, allocations: 47.14 kB / 433.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3361, allocations: 35.86 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3363, allocations: 15.97 kB / 433.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.3363, allocations: 11.94 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.3364, allocations: 15.92 kB / 433.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3364, allocations: 4 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.3364, allocations: 0 / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.3365, allocations: 15.92 kB / 433.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.3365, allocations: 23.81 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3366, allocations: 43.61 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3366, allocations: 3.938 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3366, allocations: 0 / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3366, allocations: 8 kB / 433.9 MB, free: 5.516 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005558/0.3372, allocations: 361.3 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3372, allocations: 8.031 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3373, allocations: 8.891 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3375, allocations: 192.2 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3376, allocations: 384 / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3376, allocations: 12.25 kB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3379, allocations: 117.6 kB / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3379, allocations: 192 / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3379, allocations: 7.938 kB / 434.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3379, allocations: 0 / 434.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.338, allocations: 11.98 kB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.3383, allocations: 269.7 kB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3385, allocations: 138.3 kB / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3386, allocations: 33.64 kB / 435.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3386, allocations: 4 kB / 435.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3386, allocations: 30.56 kB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3386, allocations: 0 / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002473/0.3389, allocations: 73.56 kB / 435.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.3389, allocations: 77.11 kB / 435.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3391, allocations: 133.8 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3391, allocations: 29.83 kB / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.3392, allocations: 84.14 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.3392, allocations: 0 / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3392, allocations: 33.59 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3394, allocations: 310.8 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.3395, allocations: 8 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.3395, allocations: 27.42 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.3396, allocations: 47.36 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3396, allocations: 4 kB / 435.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/0.3397, allocations: 73.59 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3397, allocations: 4 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3397, allocations: 4 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3398, allocations: 0 / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.165e-05/0.3398, allocations: 0 / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3398, allocations: 4 kB / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.3398, allocations: 3.938 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3398, allocations: 4 kB / 436 MB, free: 3.145 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001044/0.3399, allocations: 121.8 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.34, allocations: 53.91 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.34, allocations: 15.89 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.34, allocations: 4.031 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3401, allocations: 3.938 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3401, allocations: 0 / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.3403, allocations: 165.6 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3403, allocations: 4 kB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.3403, allocations: 4 kB / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3403, allocations: 0 / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3403, allocations: 0 / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3403, allocations: 4 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3403, allocations: 4 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3405, allocations: 168.2 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.3405, allocations: 93.05 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3406, allocations: 0 / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.3406, allocations: 0 / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3407, allocations: 4 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3407, allocations: 4 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.56e-05/0.3407, allocations: 106.5 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000221/0.341, allocations: 4 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0001109/0.3411, allocations: 103.2 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3412, allocations: 27.92 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3412, allocations: 256 / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.3412, allocations: 8 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3416, allocations: 26.77 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.3419, allocations: 154.3 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3422, allocations: 0.6885 MB / 437.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.3422, allocations: 7.984 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.3423, allocations: 7.438 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3423, allocations: 8.062 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Templates: time 0.003234/0.3455, allocations: 0.4955 MB / 438.3 MB, free: 0.7148 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.920514455065131]