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.001939/0.001939, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002099/0.002099, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.525/1.525, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 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 2.885e-06/2.885e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.004e-05/4.292e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004187/0.00423, allocations: 1.462 MB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003976/0.004627, allocations: 99.67 kB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.004694, allocations: 0 / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.004725, allocations: 3.938 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.004781, allocations: 15.88 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.005071, allocations: 15.97 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.005178, allocations: 23.94 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.005293, allocations: 11.98 kB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.005365, allocations: 11.98 kB / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.005406, allocations: 7.938 kB / 273.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.005427, allocations: 0 / 273.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.005441, allocations: 4 kB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.005466, allocations: 7.984 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.005501, allocations: 7.984 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.005631, allocations: 35.78 kB / 273.9 MB, free: 88 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005636, allocations: 4 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005637, allocations: 0 / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.005642, allocations: 0 / 273.9 MB, free: 84 kB / 250.7 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.0006505/0.006293, allocations: 360.2 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.006345, allocations: 11.98 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.006398, allocations: 8.938 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.006663, allocations: 120.6 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.00669, allocations: 4.375 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.006705, allocations: 4.375 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.007109, allocations: 113.5 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00712, allocations: 4.188 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.007131, allocations: 384 / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.007136, allocations: 384 / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.007242, allocations: 23.86 kB / 274.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.007443, allocations: 108.6 kB / 274.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.007683, allocations: 59.03 kB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.00777, allocations: 23.72 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.007801, allocations: 4 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.007845, allocations: 33.39 kB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.007846, allocations: 0 / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003217/0.008168, allocations: 73.61 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.008244, allocations: 55.41 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.008428, allocations: 170 kB / 275 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.008454, allocations: 29.64 kB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.008561, allocations: 134.9 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-06/0.008564, allocations: 4 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.008615, allocations: 19.38 kB / 275.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003454/0.00896, allocations: 0.4884 MB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.008965, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.008972, allocations: 4.062 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.009053, allocations: 119.2 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.412e-05/0.009137, allocations: 123.2 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.395e-05/0.009231, allocations: 33.64 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.009322, allocations: 123.2 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.00941, allocations: 123.2 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.009595, allocations: 242.3 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.009672, allocations: 123.2 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.009845, allocations: 242.4 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.01001, allocations: 131 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.01009, allocations: 119.2 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0002329/0.01032, allocations: 279.8 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.01049, allocations: 53.62 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.01053, allocations: 7.688 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01053, allocations: 0 / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01053, allocations: 4 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.01054, allocations: 3.938 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.01069, allocations: 124.6 kB / 277.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.0107, allocations: 0 / 277.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.01075, allocations: 0 / 277.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01076, allocations: 240 / 277.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.01077, allocations: 4 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01077, allocations: 0 / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01077, allocations: 0 / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.011, allocations: 100.3 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.01101, allocations: 0 / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01103, allocations: 7.938 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.01106, allocations: 4 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.01106, allocations: 0 / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01107, allocations: 0 / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01119, allocations: 139.1 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01119, allocations: 0 / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.01156, allocations: 4 kB / 277.8 MB, free: 11.89 MB / 266.7 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.0001686/0.01173, allocations: 99.19 kB / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01185, allocations: 15.98 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01185, allocations: 0 / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.01185, allocations: 0 / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.0122, allocations: 25.09 kB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.01259, allocations: 120.7 kB / 278 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.091e-05/0.01268, allocations: 63.34 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.663e-05/0.0127, allocations: 4 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.01274, allocations: 8.5 kB / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01274, allocations: 0 / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Templates: time 0.003881/0.01662, allocations: 314.7 kB / 278.4 MB, free: 11.2 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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.462568835937418]