Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001305/0.001305, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001407/0.001407, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.5 MB / 258.1 MB, free: 8.133 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 53.32 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004058/0.2876, allocations: 1.452 MB / 433.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003882/0.288, allocations: 95.73 kB / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.2881, allocations: 0 / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.2881, allocations: 3.938 kB / 433.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.2882, allocations: 7.938 kB / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2885, allocations: 19.97 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2886, allocations: 27.92 kB / 433.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2887, allocations: 8 kB / 433.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.2888, allocations: 11.92 kB / 433.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.2888, allocations: 11.92 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2888, allocations: 4 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2888, allocations: 0 / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2889, allocations: 8 kB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.2889, allocations: 15.88 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.289, allocations: 23.7 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.289, allocations: 0 / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.289, allocations: 4 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.289, allocations: 0 / 433.7 MB, free: 5.684 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.0005827/0.2896, allocations: 337.1 kB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2897, allocations: 8.031 kB / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.2897, allocations: 8.938 kB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.29, allocations: 184.2 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.29, allocations: 8.312 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.2901, allocations: 384 / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2904, allocations: 107.9 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2904, allocations: 4.172 kB / 434.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2904, allocations: 3.938 kB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2904, allocations: 4 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.2905, allocations: 15.98 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.2907, allocations: 157.6 kB / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2909, allocations: 46.5 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.291, allocations: 20.92 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.291, allocations: 4 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.291, allocations: 30.56 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.291, allocations: 0 / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002625/0.2913, allocations: 77.56 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.2914, allocations: 55.34 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2915, allocations: 101.9 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2915, allocations: 25.7 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2915, allocations: 88.12 kB / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.2916, allocations: 0 / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.2916, allocations: 13.72 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2918, allocations: 318.8 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.2918, allocations: 8 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.2918, allocations: 31.42 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.2919, allocations: 31.38 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2919, allocations: 4 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.292, allocations: 57.62 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.292, allocations: 6.812 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2921, allocations: 3.938 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2921, allocations: 4 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.2921, allocations: 3.938 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2921, allocations: 4 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.2922, allocations: 0 / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2922, allocations: 4.125 kB / 435.5 MB, free: 3.691 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 0.0001081/0.2923, allocations: 113.8 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2924, allocations: 57.62 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.2924, allocations: 7.438 kB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2924, allocations: 0 / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2924, allocations: 4 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2925, allocations: 256 / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2926, allocations: 153.7 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2926, allocations: 4 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.2926, allocations: 8.266 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2926, allocations: 7.922 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2927, allocations: 7.938 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2927, allocations: 4 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2927, allocations: 0 / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.2928, allocations: 77.11 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.2929, allocations: 81.06 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2929, allocations: 7.938 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.901e-05/0.2929, allocations: 7.984 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-06/0.2929, allocations: 0 / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2929, allocations: 0 / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.293, allocations: 79.28 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.293, allocations: 0 / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.2933, allocations: 8 kB / 436.1 MB, free: 2.969 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.0001311/0.2935, allocations: 99.19 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2936, allocations: 31.92 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2936, allocations: 0 / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2936, allocations: 0 / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2939, allocations: 19.92 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.2943, allocations: 151.2 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2947, allocations: 0.6807 MB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.2947, allocations: 7.438 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2947, allocations: 256 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Templates: time 0.00252/0.2972, allocations: 0.5421 MB / 437.6 MB, free: 1.375 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.52092797588557]