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.001707/0.001707, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002225/0.002225, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.785 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+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 0.001596/0.001596, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2994, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003273/0.3027, allocations: 1.524 MB / 433.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.3031, allocations: 135.5 kB / 433.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.3032, allocations: 7.938 kB / 433.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.436e-05/0.3032, allocations: 3.938 kB / 433.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3034, allocations: 7.922 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3037, allocations: 35.91 kB / 433.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3038, allocations: 35.86 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3039, allocations: 15.78 kB / 433.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.3039, allocations: 15.94 kB / 433.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.3039, allocations: 15.91 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3039, allocations: 4 kB / 433.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.304, allocations: 4 kB / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.304, allocations: 11.94 kB / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.3041, allocations: 19.86 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3042, allocations: 43.81 kB / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3042, allocations: 0 / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3042, allocations: 0 / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3042, allocations: 0 / 433.5 MB, free: 4.844 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.000467/0.3047, allocations: 288.5 kB / 433.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3047, allocations: 12.03 kB / 433.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3047, allocations: 16.77 kB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.305, allocations: 130.4 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.305, allocations: 4.375 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.305, allocations: 4.375 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.3053, allocations: 109.6 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3053, allocations: 4.188 kB / 434 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3053, allocations: 3.938 kB / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3053, allocations: 0 / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.3054, allocations: 19.92 kB / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.3057, allocations: 205.4 kB / 434.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3059, allocations: 57.16 kB / 434.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.3059, allocations: 25.77 kB / 434.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3059, allocations: 3.938 kB / 434.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.306, allocations: 34.56 kB / 434.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.306, allocations: 4 kB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.3062, allocations: 73.56 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.3063, allocations: 85.05 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3064, allocations: 132.5 kB / 434.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3064, allocations: 33.64 kB / 434.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.3065, allocations: 80.14 kB / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3065, allocations: 11.92 kB / 434.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.3065, allocations: 21.67 kB / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3067, allocations: 314.8 kB / 435.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.3067, allocations: 12.11 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.3067, allocations: 31.44 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.3068, allocations: 39.36 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3068, allocations: 4 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.3069, allocations: 61.56 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.307, allocations: 12.12 kB / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.307, allocations: 0 / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.307, allocations: 0 / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.298e-05/0.307, allocations: 4 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.307, allocations: 7.875 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.307, allocations: 7.984 kB / 435.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.307, allocations: 0 / 435.3 MB, free: 2.805 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 9.753e-05/0.3071, allocations: 117.8 kB / 435.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.3072, allocations: 57.84 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.3073, allocations: 8 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3073, allocations: 4 kB / 435.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3073, allocations: 4 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3073, allocations: 0 / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3074, allocations: 113.3 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3074, allocations: 0 / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.3074, allocations: 3.984 kB / 435.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3074, allocations: 3.938 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3074, allocations: 7.938 kB / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3074, allocations: 0 / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3074, allocations: 3.984 kB / 435.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3076, allocations: 160.4 kB / 435.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3076, allocations: 23.88 kB / 435.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3077, allocations: 0 / 435.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.3077, allocations: 0 / 435.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3077, allocations: 4 kB / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3077, allocations: 0 / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.3078, allocations: 107.2 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3078, allocations: 0 / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3081, allocations: 4 kB / 435.9 MB, free: 2.121 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.0001038/0.3082, allocations: 103.2 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.3083, allocations: 23.92 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3083, allocations: 0 / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.3083, allocations: 11.94 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3086, allocations: 22.59 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.3089, allocations: 158.3 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.309, allocations: 74.42 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.309, allocations: 8.312 kB / 436.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.309, allocations: 11.44 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.309, allocations: 0 / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of Templates: time 0.002914/0.312, allocations: 0.5386 MB / 436.8 MB, free: 1.133 MB / 334.1 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.514267239719629]