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.002078/0.002078, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002555/0.002555, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.593/1.593, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.001915/0.001915, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3725, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002894/0.3754, allocations: 1.449 MB / 431.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.3757, allocations: 95.73 kB / 431.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3758, allocations: 8 kB / 431.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.3758, allocations: 3.938 kB / 431.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.3759, allocations: 3.938 kB / 431.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3761, allocations: 19.97 kB / 431.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.3762, allocations: 23.92 kB / 431.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3763, allocations: 8 kB / 431.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.3764, allocations: 7.938 kB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.3764, allocations: 19.91 kB / 431.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3764, allocations: 0 / 431.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.3764, allocations: 4 kB / 431.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3765, allocations: 8 kB / 431.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.3765, allocations: 15.88 kB / 431.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/0.3766, allocations: 23.7 kB / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3766, allocations: 0 / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3766, allocations: 7.938 kB / 431.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3766, allocations: 0 / 431.5 MB, free: 5.84 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.0005304/0.3771, allocations: 336.8 kB / 431.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3772, allocations: 12.03 kB / 431.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.3772, allocations: 4.891 kB / 431.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3775, allocations: 184.3 kB / 432 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3775, allocations: 384 / 432 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3775, allocations: 4.375 kB / 432 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.3778, allocations: 99.86 kB / 432.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3778, allocations: 4.188 kB / 432.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3778, allocations: 3.938 kB / 432.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3778, allocations: 4 kB / 432.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3779, allocations: 15.98 kB / 432.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.3781, allocations: 157.6 kB / 432.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.3782, allocations: 42.56 kB / 432.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.3783, allocations: 20.92 kB / 432.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3783, allocations: 0 / 432.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3783, allocations: 38.56 kB / 432.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3783, allocations: 0 / 432.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000224/0.3786, allocations: 73.5 kB / 432.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3786, allocations: 51.41 kB / 432.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3787, allocations: 105.9 kB / 432.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3787, allocations: 25.7 kB / 432.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3788, allocations: 88.12 kB / 432.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.3788, allocations: 4 kB / 432.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.3788, allocations: 21.66 kB / 432.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.379, allocations: 314.8 kB / 433.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.379, allocations: 3.984 kB / 433.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.379, allocations: 27.62 kB / 433.1 MB, free: 4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.3791, allocations: 39.38 kB / 433.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3791, allocations: 0 / 433.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.576e-05/0.3791, allocations: 53.62 kB / 433.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3792, allocations: 4 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3792, allocations: 11.88 kB / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3792, allocations: 96 / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.3792, allocations: 12.11 kB / 433.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3792, allocations: 3.984 kB / 433.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.3793, allocations: 0 / 433.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3793, allocations: 4 kB / 433.2 MB, free: 3.855 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.0001027/0.3794, allocations: 117.8 kB / 433.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.3795, allocations: 49.64 kB / 433.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/0.3795, allocations: 19.38 kB / 433.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3795, allocations: 0 / 433.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3795, allocations: 0 / 433.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3795, allocations: 7.938 kB / 433.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3796, allocations: 153.7 kB / 433.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3796, allocations: 0 / 433.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.3797, allocations: 3.984 kB / 433.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3797, allocations: 4 kB / 433.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3797, allocations: 3.938 kB / 433.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3797, allocations: 0 / 433.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3797, allocations: 0 / 433.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3798, allocations: 77.12 kB / 433.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.3799, allocations: 85.06 kB / 433.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3799, allocations: 7.922 kB / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.3799, allocations: 256 / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-06/0.3799, allocations: 0 / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3799, allocations: 8 kB / 433.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.38, allocations: 87.22 kB / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.3801, allocations: 0 / 433.8 MB, free: 3.133 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.0001279/0.3803, allocations: 103.2 kB / 433.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3804, allocations: 23.98 kB / 434 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3804, allocations: 0 / 434 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.3804, allocations: 3.938 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3806, allocations: 20.02 kB / 434 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.381, allocations: 121.5 kB / 434.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3813, allocations: 0.6848 MB / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.3813, allocations: 0 / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.3813, allocations: 7.438 kB / 434.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3813, allocations: 0 / 434.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of Templates: time 0.002615/0.384, allocations: 324.5 kB / 435.1 MB, free: 1.793 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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: 4.903068327344954]