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.001783/0.001783, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002028/0.002028, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001492/0.001492, allocations: 43.94 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2262, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002949/0.2292, allocations: 1.534 MB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.2296, allocations: 131.5 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.2297, allocations: 8 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.2297, allocations: 7.922 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2298, allocations: 3.938 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.2301, allocations: 35.91 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2302, allocations: 39.84 kB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2303, allocations: 15.78 kB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.2303, allocations: 15.92 kB / 434.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.2304, allocations: 11.94 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2304, allocations: 4 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.2304, allocations: 4 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.2304, allocations: 15.86 kB / 434.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.2305, allocations: 19.88 kB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2306, allocations: 46.91 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2306, allocations: 0 / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2306, allocations: 0 / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2306, allocations: 0 / 434.2 MB, free: 4.852 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.0004407/0.231, allocations: 285.8 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2311, allocations: 8.031 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2311, allocations: 8.891 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2313, allocations: 134.4 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2314, allocations: 12.31 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2314, allocations: 8.375 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.2316, allocations: 113.5 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2316, allocations: 192 / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2317, allocations: 7.922 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2317, allocations: 0 / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.2317, allocations: 12 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.232, allocations: 213.4 kB / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2321, allocations: 57.2 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.2322, allocations: 25.72 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2322, allocations: 7.922 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2323, allocations: 34.56 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2323, allocations: 0 / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.2325, allocations: 69.58 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2325, allocations: 81.05 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2327, allocations: 141.3 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2327, allocations: 25.7 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.2327, allocations: 88.14 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.2327, allocations: 3.938 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2328, allocations: 21.67 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2329, allocations: 318.8 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.233, allocations: 8 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.233, allocations: 31.42 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.2331, allocations: 39.38 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2331, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000123/0.2332, allocations: 69.5 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2332, allocations: 8 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2332, allocations: 3.984 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2332, allocations: 0 / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.269e-05/0.2332, allocations: 4 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2333, allocations: 128 / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.2333, allocations: 8 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2333, allocations: 0 / 436 MB, free: 2.816 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.054e-05/0.2334, allocations: 117.8 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.2335, allocations: 53.8 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.2335, allocations: 12 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2335, allocations: 8.016 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2335, allocations: 0 / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2335, allocations: 7.938 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.2336, allocations: 113.3 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2336, allocations: 0 / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.2337, allocations: 4 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2337, allocations: 3.938 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2337, allocations: 4 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2337, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2337, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2338, allocations: 168.3 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.2339, allocations: 15.89 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2339, allocations: 0 / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.2339, allocations: 3.984 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.234, allocations: 8 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.234, allocations: 4 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.234, allocations: 99.27 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.234, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.2343, allocations: 8 kB / 436.6 MB, free: 2.125 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 9.426e-05/0.2344, allocations: 99.23 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2345, allocations: 27.86 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2345, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.2345, allocations: 4.25 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2348, allocations: 24.08 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.2351, allocations: 158.3 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.638e-05/0.2352, allocations: 71.33 kB / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.141e-05/0.2352, allocations: 4 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.2353, allocations: 7.438 kB / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2353, allocations: 0 / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of Templates: time 0.002795/0.2381, allocations: 0.5522 MB / 437.6 MB, free: 1.141 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.236565134007833]