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.001849/0.001849, allocations: 96.62 kB / 20.96 MB, free: 3.59 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.0015/0.0015, allocations: 145.5 kB / 24.25 MB, free: 312 kB / 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.475/1.475, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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 2.284e-06/2.284e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.012e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003747/0.003787, allocations: 1.522 MB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.004419, allocations: 143.4 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.004519, allocations: 0 / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.266e-05/0.004592, allocations: 7.922 kB / 269 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.004746, allocations: 7.938 kB / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.005019, allocations: 39.77 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.005131, allocations: 31.92 kB / 269.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.005238, allocations: 8 kB / 269.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.005312, allocations: 23.91 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.005352, allocations: 7.984 kB / 269.1 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.005378, allocations: 4 kB / 269.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.005393, allocations: 8 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.005459, allocations: 11.94 kB / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.0055, allocations: 7.984 kB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.005628, allocations: 47.81 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005631, allocations: 0 / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005632, allocations: 0 / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005635, allocations: 0 / 269.2 MB, free: 4.863 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.0005239/0.006159, allocations: 290 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.006199, allocations: 12.92 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.006253, allocations: 12.84 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.006515, allocations: 133.7 kB / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.00654, allocations: 4.375 kB / 269.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.006553, allocations: 4.375 kB / 269.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.006871, allocations: 121.5 kB / 269.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006879, allocations: 192 / 269.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006887, allocations: 384 / 269.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.006905, allocations: 8.359 kB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.006969, allocations: 15.92 kB / 269.8 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.007294, allocations: 201.5 kB / 270 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007462, allocations: 61.14 kB / 270 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.007527, allocations: 21.78 kB / 270 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.007546, allocations: 0 / 270 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.007586, allocations: 42.48 kB / 270.1 MB, free: 3.812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.007587, allocations: 0 / 270.1 MB, free: 3.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002645/0.007851, allocations: 77.67 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.007924, allocations: 81.05 kB / 270.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.008076, allocations: 137.3 kB / 270.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.008095, allocations: 29.7 kB / 270.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.00817, allocations: 92.08 kB / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.008177, allocations: 0 / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.008212, allocations: 13.72 kB / 270.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003587/0.00857, allocations: 310.8 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.008603, allocations: 11.98 kB / 270.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.008623, allocations: 4 kB / 270.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.008668, allocations: 16.89 kB / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008669, allocations: 0 / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.853e-05/0.008768, allocations: 53.58 kB / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.008783, allocations: 4 kB / 270.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.00879, allocations: 3.938 kB / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.008805, allocations: 0 / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-06/0.008814, allocations: 0 / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.008821, allocations: 4 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.008842, allocations: 0 / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.008847, allocations: 4.031 kB / 270.9 MB, free: 2.922 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 0.0001152/0.008962, allocations: 117.8 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.009047, allocations: 45.69 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.009092, allocations: 15.94 kB / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009093, allocations: 0 / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.009097, allocations: 0 / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.009103, allocations: 4 kB / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.009282, allocations: 117.2 kB / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009283, allocations: 0 / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.00929, allocations: 0 / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009292, allocations: 4 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.009303, allocations: 8 kB / 271.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.00931, allocations: 7.922 kB / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00931, allocations: 0 / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.00951, allocations: 152.4 kB / 271.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.009554, allocations: 20.22 kB / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.009568, allocations: 0 / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.009631, allocations: 7.938 kB / 271.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.009672, allocations: 7.922 kB / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.009676, allocations: 0 / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.009776, allocations: 107.2 kB / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009776, allocations: 4 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01, allocations: 4 kB / 271.5 MB, free: 2.238 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 0.0001453/0.01015, allocations: 95.25 kB / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.01026, allocations: 15.98 kB / 271.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01026, allocations: 0 / 271.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.01029, allocations: 4 kB / 271.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.01066, allocations: 32.64 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01105, allocations: 168.3 kB / 271.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01115, allocations: 71.33 kB / 271.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.01117, allocations: 0 / 271.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.01121, allocations: 12.5 kB / 271.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01121, allocations: 0 / 271.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of Templates: time 0.003206/0.01442, allocations: 0.5244 MB / 272.4 MB, free: 1.277 MB / 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.130211176001467]