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.0011/0.0011, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002663, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009704/0.0009704, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002369, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8477/0.8477, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1789/1.027, allocations: 52.49 MB / 238.5 MB, free: 7.652 MB / 234.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 2.074e-06/2.074e-06, allocations: 0 / 239.7 MB, free: 6.391 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.03e-05, allocations: 6.25 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003016/0.003046, allocations: 1.594 MB / 241.3 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000331/0.003377, allocations: 151.3 kB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003484, allocations: 1.281 kB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.003537, allocations: 3.938 kB / 241.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.003635, allocations: 7.938 kB / 241.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.003854, allocations: 32.95 kB / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.004, allocations: 39.84 kB / 241.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004112, allocations: 11.94 kB / 241.6 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.004203, allocations: 22.97 kB / 241.6 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.004247, allocations: 11.94 kB / 241.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.004279, allocations: 0 / 241.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.004298, allocations: 4 kB / 241.6 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.004373, allocations: 15.92 kB / 241.6 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004401, allocations: 4 kB / 241.6 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.004551, allocations: 43.77 kB / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.004563, allocations: 0 / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004564, allocations: 0.8125 kB / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.00458, allocations: 0 / 241.7 MB, free: 4.453 MB / 234.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.0005125/0.005092, allocations: 273.6 kB / 242 MB, free: 4.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.00514, allocations: 8.031 kB / 242 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.005182, allocations: 4.938 kB / 242 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.00542, allocations: 142.6 kB / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.005442, allocations: 1.281 kB / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.005457, allocations: 4.375 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.005715, allocations: 124 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005725, allocations: 192 / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.005733, allocations: 1.031 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.00574, allocations: 384 / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005762, allocations: 8.625 kB / 242.2 MB, free: 3.832 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.006002, allocations: 159.1 kB / 242.4 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006104, allocations: 45.17 kB / 242.4 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.006134, allocations: 21.77 kB / 242.5 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.006155, allocations: 3.984 kB / 242.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.006184, allocations: 34.5 kB / 242.5 MB, free: 3.523 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.006185, allocations: 1.469 kB / 242.5 MB, free: 3.523 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.00634, allocations: 53.62 kB / 242.6 MB, free: 3.465 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.006402, allocations: 81.05 kB / 242.6 MB, free: 3.367 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.006511, allocations: 138.6 kB / 242.8 MB, free: 3.223 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.006528, allocations: 34.23 kB / 242.8 MB, free: 3.184 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.006577, allocations: 84.12 kB / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.006589, allocations: 0.5312 kB / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.006617, allocations: 15.41 kB / 242.9 MB, free: 3.078 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.006733, allocations: 318.8 kB / 243.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.006741, allocations: 0 / 243.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.006748, allocations: 0 / 243.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.006772, allocations: 10.02 kB / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.006775, allocations: 0 / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.339e-05/0.006838, allocations: 38.62 kB / 243.3 MB, free: 2.703 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.006855, allocations: 8 kB / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00686, allocations: 0 / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.006876, allocations: 1 kB / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.331e-05/0.00689, allocations: 3.938 kB / 243.3 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.006893, allocations: 0 / 243.3 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.006932, allocations: 0.75 kB / 243.3 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.006938, allocations: 0 / 243.3 MB, free: 2.691 MB / 234.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 9.909e-05/0.007038, allocations: 121.3 kB / 243.4 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.00709, allocations: 34.42 kB / 243.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.007129, allocations: 11.98 kB / 243.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007131, allocations: 4.594 kB / 243.4 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007135, allocations: 6.469 kB / 243.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007139, allocations: 0 / 243.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.007273, allocations: 81.83 kB / 243.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007275, allocations: 0 / 243.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-06/0.007284, allocations: 4 kB / 243.5 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.007314, allocations: 7.938 kB / 243.5 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007316, allocations: 0 / 243.5 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.007321, allocations: 0.9688 kB / 243.5 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007322, allocations: 4 kB / 243.5 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.007328, allocations: 7.922 kB / 243.6 MB, free: 2.375 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.007419, allocations: 128.9 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007431, allocations: 0.8125 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.007511, allocations: 15.92 kB / 243.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.007541, allocations: 1.656 kB / 243.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.007548, allocations: 4 kB / 243.7 MB, free: 2.211 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.007586, allocations: 32.7 kB / 243.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007586, allocations: 0 / 243.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.007821, allocations: 4.25 kB / 243.7 MB, free: 2.172 MB / 234.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.0001139/0.007935, allocations: 80.42 kB / 243.8 MB, free: 2.086 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.008019, allocations: 12.86 kB / 243.8 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.008026, allocations: 7.984 kB / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.008041, allocations: 4.859 kB / 243.8 MB, free: 2.055 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.008406, allocations: 88.14 kB / 243.9 MB, free: 1.953 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.008961, allocations: 151.1 kB / 244.1 MB, free: 1.777 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.009019, allocations: 63.53 kB / 244.1 MB, free: 1.695 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.009036, allocations: 8.422 kB / 244.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.009107, allocations: 55.36 kB / 244.2 MB, free: 1.633 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/0.009108, allocations: 0 / 244.2 MB, free: 1.633 MB / 234.7 MB Notification: Performance of Templates: time 0.002865/0.01197, allocations: 0.5473 MB / 244.7 MB, free: 1.102 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3638137448579073]