Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 88.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.164e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003092/0.003123, allocations: 1.54 MB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000418/0.003541, allocations: 135.5 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.003619, allocations: 3.938 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.003672, allocations: 3.938 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003792, allocations: 15.92 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.004024, allocations: 35.78 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.004118, allocations: 35.92 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004218, allocations: 11.97 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.004273, allocations: 19.92 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.0043, allocations: 4 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.004322, allocations: 4 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.004331, allocations: 0 / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.004404, allocations: 19.97 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.004439, allocations: 11.94 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.004557, allocations: 43.77 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004561, allocations: 7.984 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004562, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004566, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.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.0005164/0.005082, allocations: 278.1 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.005122, allocations: 16.02 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.005172, allocations: 8.891 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.005461, allocations: 137.6 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.005487, allocations: 4.375 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.0055, allocations: 4.375 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.005792, allocations: 113.6 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.0058, allocations: 4.188 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.005809, allocations: 384 / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005816, allocations: 4.359 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.735e-05/0.005883, allocations: 23.86 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.006197, allocations: 201.4 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.006352, allocations: 61.14 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.006413, allocations: 25.77 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.006432, allocations: 0 / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.006467, allocations: 38.56 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.006468, allocations: 0 / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.006712, allocations: 73.55 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.006785, allocations: 77.11 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.006947, allocations: 137.7 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.006969, allocations: 33.64 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.00703, allocations: 88.27 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.007036, allocations: 3.938 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.007077, allocations: 17.7 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.007265, allocations: 314.8 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.007292, allocations: 4 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.00744, allocations: 4 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.007486, allocations: 12.84 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007488, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.727e-05/0.007575, allocations: 49.72 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.00759, allocations: 7.984 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.007596, allocations: 3.938 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007609, allocations: 0 / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-06/0.007617, allocations: 3.938 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007622, allocations: 0 / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.007642, allocations: 4 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.007646, allocations: 0 / 275.9 MB, free: 14 MB / 266.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.0001056/0.007751, allocations: 113.8 kB / 276 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.007835, allocations: 49.64 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.007868, allocations: 19.97 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007869, allocations: 0 / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.00788, allocations: 7.984 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007885, allocations: 4 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.008034, allocations: 109.3 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008035, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.008042, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008043, allocations: 0 / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008053, allocations: 4 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.008056, allocations: 7.875 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008057, allocations: 0 / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.008241, allocations: 164.3 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.008273, allocations: 12.28 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.008286, allocations: 0 / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.008347, allocations: 7.938 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.008383, allocations: 7.969 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.008387, allocations: 0 / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.008469, allocations: 106.2 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008469, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.008725, allocations: 11.89 kB / 276.5 MB, free: 13.33 MB / 266.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.0001192/0.008845, allocations: 103.2 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.008946, allocations: 15.98 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008947, allocations: 0 / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.008973, allocations: 4 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.0093, allocations: 24.86 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.009652, allocations: 161.2 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.009735, allocations: 71.33 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.009751, allocations: 128 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.009783, allocations: 16.5 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009784, allocations: 0 / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Templates: time 0.003031/0.01282, allocations: 0.5097 MB / 277.4 MB, free: 12.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.304666979936883]