Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001636/0.001636, 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.001371/0.001371, allocations: 212.2 kB / 24.48 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 43.94 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 53.38 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002668/0.2407, allocations: 1.454 MB / 433.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.241, allocations: 95.69 kB / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.2411, allocations: 8 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.2411, allocations: 3.938 kB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.2411, allocations: 7.875 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2414, allocations: 27.91 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.2414, allocations: 19.98 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.2415, allocations: 7.797 kB / 433.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.2416, allocations: 11.94 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.2416, allocations: 19.91 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2416, allocations: 0 / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.2416, allocations: 7.938 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2416, allocations: 0 / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.2417, allocations: 15.94 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.995e-05/0.2417, allocations: 23.91 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2418, allocations: 0 / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2418, allocations: 0 / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2418, allocations: 0 / 434 MB, free: 5.035 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.000403/0.2422, allocations: 265.2 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2422, allocations: 8.031 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2422, allocations: 8.875 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.2424, allocations: 118.4 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2424, allocations: 16.36 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2425, allocations: 384 / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2427, allocations: 91.89 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2427, allocations: 192 / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2427, allocations: 3.938 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2427, allocations: 4 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.2428, allocations: 19.92 kB / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.2429, allocations: 101.3 kB / 434.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2431, allocations: 50.56 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.2431, allocations: 20.92 kB / 434.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.2431, allocations: 0 / 434.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2432, allocations: 34.56 kB / 434.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2432, allocations: 0 / 434.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.2434, allocations: 69.52 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.2434, allocations: 55.39 kB / 434.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.2435, allocations: 101.9 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2435, allocations: 25.7 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.2436, allocations: 88.14 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.2436, allocations: 7.984 kB / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.2436, allocations: 17.72 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2437, allocations: 310.8 kB / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.2437, allocations: 4 kB / 435.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.2438, allocations: 31.61 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.2438, allocations: 39.31 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2438, allocations: 4 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.278e-05/0.2439, allocations: 57.56 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2439, allocations: 4 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2439, allocations: 96 / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2439, allocations: 11.92 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-05/0.244, allocations: 256 / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.244, allocations: 4 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.244, allocations: 4 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.244, allocations: 4 kB / 435.6 MB, free: 3.289 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 8.506e-05/0.2441, allocations: 117.9 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2442, allocations: 61.56 kB / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.2442, allocations: 7.688 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2442, allocations: 7.938 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2442, allocations: 0 / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2443, allocations: 0 / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.2443, allocations: 101.3 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2443, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.2444, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2444, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2444, allocations: 8 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2444, allocations: 0 / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2444, allocations: 3.938 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2445, allocations: 77.06 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.2445, allocations: 11.95 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2445, allocations: 3.984 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.2445, allocations: 0 / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-06/0.2445, allocations: 3.938 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2445, allocations: 4 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.2446, allocations: 79.28 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2446, allocations: 4 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.2448, allocations: 8 kB / 436.1 MB, free: 2.73 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.000107/0.2449, allocations: 101.6 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.245, allocations: 19.94 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.245, allocations: 0 / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.245, allocations: 0 / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2452, allocations: 20.02 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.2455, allocations: 121.8 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.2456, allocations: 67.34 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.374e-05/0.2456, allocations: 0 / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.2456, allocations: 7.438 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2456, allocations: 3.938 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Templates: time 0.002502/0.2481, allocations: 355 kB / 436.7 MB, free: 1.996 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.381881082998007]