Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.83 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2285, allocations: 53.4 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002709/0.2312, allocations: 1.446 MB / 433.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.2314, allocations: 107.6 kB / 433.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.2315, allocations: 0 / 433.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2315, allocations: 3.938 kB / 433.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.2316, allocations: 3.938 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2318, allocations: 23.97 kB / 434 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.2319, allocations: 31.86 kB / 434 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.232, allocations: 11.8 kB / 434 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.232, allocations: 15.98 kB / 434 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.232, allocations: 3.938 kB / 434 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2321, allocations: 4 kB / 434 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.2321, allocations: 0 / 434 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.2321, allocations: 15.92 kB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.2321, allocations: 7.922 kB / 434 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.2322, allocations: 23.91 kB / 434.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2322, allocations: 4 kB / 434.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2322, allocations: 0 / 434.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.2322, allocations: 0 / 434.1 MB, free: 4.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004366/0.2327, allocations: 257.2 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2327, allocations: 19.98 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2328, allocations: 0.9375 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.233, allocations: 130.4 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.233, allocations: 384 / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.233, allocations: 4.375 kB / 434.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2333, allocations: 107.8 kB / 434.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2333, allocations: 4.188 kB / 434.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2334, allocations: 3.938 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2334, allocations: 0 / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.2334, allocations: 11.98 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.2336, allocations: 101.3 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.2337, allocations: 50.48 kB / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.2338, allocations: 24.86 kB / 434.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2338, allocations: 4 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2338, allocations: 30.56 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2338, allocations: 0 / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002197/0.234, allocations: 73.56 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2341, allocations: 59.34 kB / 434.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2342, allocations: 105.8 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2342, allocations: 29.7 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2343, allocations: 80.14 kB / 435.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.2343, allocations: 0 / 435.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.2343, allocations: 17.72 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2345, allocations: 314.8 kB / 435.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.2345, allocations: 11.94 kB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.2345, allocations: 23.44 kB / 435.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.2346, allocations: 39.38 kB / 435.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2346, allocations: 0 / 435.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.177e-05/0.2346, allocations: 53.62 kB / 435.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2347, allocations: 4 kB / 435.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2347, allocations: 4 kB / 435.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2347, allocations: 8.062 kB / 435.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.2347, allocations: 7.938 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2347, allocations: 3.984 kB / 435.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.2348, allocations: 0 / 435.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.2348, allocations: 4 kB / 435.6 MB, free: 3.07 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.866e-05/0.2349, allocations: 113.8 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.235, allocations: 53.64 kB / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.235, allocations: 7.688 kB / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.235, allocations: 3.938 kB / 435.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.235, allocations: 256 / 435.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.235, allocations: 4 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.818e-05/0.2351, allocations: 109.3 kB / 435.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2351, allocations: 0 / 435.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.2351, allocations: 7.938 kB / 435.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2351, allocations: 0 / 435.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2351, allocations: 0 / 435.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2351, allocations: 0 / 435.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2351, allocations: 3.938 kB / 435.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2353, allocations: 81.11 kB / 436 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.2353, allocations: 3.953 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2353, allocations: 0 / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.2353, allocations: 8 kB / 436 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-06/0.2353, allocations: 4.312 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2353, allocations: 3.938 kB / 436 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.2354, allocations: 87.27 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2354, allocations: 0 / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.2356, allocations: 4 kB / 436.1 MB, free: 2.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001252/0.2357, allocations: 99.19 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.2359, allocations: 20.17 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2359, allocations: 8 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2359, allocations: 0 / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2361, allocations: 30.23 kB / 436.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.2364, allocations: 147.3 kB / 436.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.2365, allocations: 67.28 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.2365, allocations: 7.438 kB / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2365, allocations: 0 / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of Templates: time 0.002149/0.2387, allocations: 0.5502 MB / 437 MB, free: 1.539 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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: 6.743337769061327]