Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 82.17 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [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.001221/0.001221, allocations: 152.2 kB / 24.81 MB, free: 8.781 MB / 18.57 MB " [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 1.112/1.112, allocations: 173.3 MB / 201.4 MB, free: 9.254 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.196e-05, allocations: 6.25 kB / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002606/0.002638, allocations: 1.541 MB / 269.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.003029, allocations: 147.4 kB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.003113, allocations: 7.938 kB / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.003165, allocations: 3.938 kB / 270.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.003298, allocations: 3.984 kB / 270.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.003541, allocations: 43.78 kB / 270.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.003631, allocations: 31.86 kB / 270.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.003727, allocations: 19.97 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.003781, allocations: 15.98 kB / 270.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.003814, allocations: 11.92 kB / 270.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.003834, allocations: 0 / 270.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.003846, allocations: 4 kB / 270.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.003896, allocations: 11.94 kB / 270.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.003917, allocations: 8 kB / 270.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.004022, allocations: 35.83 kB / 270.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.004025, allocations: 0 / 270.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.004027, allocations: 4 kB / 270.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004031, allocations: 0 / 270.3 MB, free: 4.336 MB / 250.7 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.00041/0.004441, allocations: 396.3 kB / 270.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.004489, allocations: 12.92 kB / 270.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.004523, allocations: 8.891 kB / 270.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004678, allocations: 136.5 kB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.004696, allocations: 4.375 kB / 270.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.004705, allocations: 4.375 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.005235, allocations: 129.5 kB / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.005241, allocations: 192 / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.005247, allocations: 384 / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005253, allocations: 4.375 kB / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.00527, allocations: 15.86 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.0055, allocations: 244 kB / 271.2 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.005596, allocations: 70.11 kB / 271.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.005622, allocations: 19.44 kB / 271.3 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.005646, allocations: 7.984 kB / 271.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.005671, allocations: 37.39 kB / 271.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.005673, allocations: 0 / 271.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001382/0.005811, allocations: 57.56 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.005854, allocations: 89.09 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.005936, allocations: 187.8 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.005944, allocations: 25.7 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.00599, allocations: 134.9 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.006, allocations: 4 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006025, allocations: 15.38 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006131, allocations: 496.2 kB / 272.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.00614, allocations: 7.938 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.006147, allocations: 3.984 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.794e-05/0.006165, allocations: 11.69 kB / 272.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006167, allocations: 3.938 kB / 272.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.534e-05/0.006213, allocations: 37.66 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006224, allocations: 8 kB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006229, allocations: 0 / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006238, allocations: 3.938 kB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-06/0.006247, allocations: 4 kB / 272.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.006249, allocations: 4.094 kB / 272.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.006277, allocations: 0 / 272.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.006282, allocations: 4 kB / 272.4 MB, free: 1.949 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.301e-05/0.006355, allocations: 164.5 kB / 272.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.006399, allocations: 41.66 kB / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.00643, allocations: 11.98 kB / 272.6 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.006433, allocations: 3.938 kB / 272.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006436, allocations: 4 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006439, allocations: 0 / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.006541, allocations: 101.3 kB / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006542, allocations: 4 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.00655, allocations: 3.984 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006553, allocations: 0 / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.006557, allocations: 0 / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006558, allocations: 4 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006559, allocations: 0 / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.006646, allocations: 191.5 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.00668, allocations: 23.92 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-06/0.006688, allocations: 0 / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.006731, allocations: 0 / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.00676, allocations: 8.031 kB / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.006765, allocations: 3.938 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.634e-05/0.006811, allocations: 138.5 kB / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006811, allocations: 0 / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000138/0.006949, allocations: 8 kB / 273.1 MB, free: 1.18 MB / 250.7 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 9.188e-05/0.007041, allocations: 95.25 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.007109, allocations: 19.62 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.007111, allocations: 0 / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.007124, allocations: 11.75 kB / 273.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.007369, allocations: 24.77 kB / 273.3 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.007639, allocations: 160.7 kB / 273.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.00769, allocations: 63.28 kB / 273.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.007707, allocations: 4.25 kB / 273.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.007766, allocations: 70.2 kB / 273.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of SimCode: time 9.21e-07/0.007767, allocations: 0 / 273.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of Templates: time 0.002228/0.009995, allocations: 0.5595 MB / 274.1 MB, free: 124 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.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: 2.727797816041857]