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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001581, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 227.7 MB / 247.9 MB, free: 10.3 MB / 206.1 MB 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.002538/0.002538, allocations: 63.91 kB / 359.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2551, allocations: 50.55 MB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003546/0.2586, allocations: 1.439 MB / 411.6 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.259, allocations: 95.75 kB / 411.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.2591, allocations: 3.938 kB / 411.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2591, allocations: 3.984 kB / 411.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.2592, allocations: 3.938 kB / 411.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.2595, allocations: 23.92 kB / 411.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2596, allocations: 23.92 kB / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2597, allocations: 7.984 kB / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.2598, allocations: 8 kB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.2598, allocations: 19.86 kB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2598, allocations: 0 / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.2598, allocations: 8 kB / 411.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.2599, allocations: 7.922 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2599, allocations: 11.94 kB / 411.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.26, allocations: 23.91 kB / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.26, allocations: 4 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.26, allocations: 0 / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.26, allocations: 0 / 411.9 MB, free: 15.8 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.0005305/0.2606, allocations: 335.4 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.2606, allocations: 12.02 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.2606, allocations: 8.938 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2609, allocations: 180.2 kB / 412.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.261, allocations: 4.375 kB / 412.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.261, allocations: 4.375 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.2614, allocations: 99.86 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2614, allocations: 4.188 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2614, allocations: 7.938 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2614, allocations: 3.938 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.2615, allocations: 8 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.2617, allocations: 157.7 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.2619, allocations: 42.56 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.2619, allocations: 20.92 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.262, allocations: 8 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.262, allocations: 30.56 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.262, allocations: 0 / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002656/0.2623, allocations: 69.52 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.2623, allocations: 55.41 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2624, allocations: 109.8 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2625, allocations: 25.7 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.2625, allocations: 84.14 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.2625, allocations: 4 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.2626, allocations: 21.7 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2628, allocations: 314.8 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.2628, allocations: 0 / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.2628, allocations: 31.42 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.2629, allocations: 35.38 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2629, allocations: 0 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.263, allocations: 57.56 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.263, allocations: 8 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.263, allocations: 4.344 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.263, allocations: 4 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.2631, allocations: 4 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2631, allocations: 0 / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.2631, allocations: 4 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2631, allocations: 4 kB / 413.6 MB, free: 13.82 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.0001042/0.2632, allocations: 114 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.2634, allocations: 65.56 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.2634, allocations: 15.42 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2634, allocations: 4 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2634, allocations: 0 / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2635, allocations: 0 / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2636, allocations: 153.7 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2636, allocations: 0 / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.2636, allocations: 7.938 kB / 414 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2636, allocations: 0 / 414 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2636, allocations: 3.938 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2637, allocations: 3.984 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2637, allocations: 0 / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2638, allocations: 89.05 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.2639, allocations: 81.06 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2639, allocations: 3.938 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.264, allocations: 4 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-06/0.264, allocations: 7.938 kB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.264, allocations: 0 / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.264, allocations: 83.27 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.264, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.2644, allocations: 8 kB / 414.2 MB, free: 13.08 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.0001429/0.2645, allocations: 99.25 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2647, allocations: 23.92 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2647, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2647, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.265, allocations: 16 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.2653, allocations: 117.8 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.2658, allocations: 0.6807 MB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.2658, allocations: 0 / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.2658, allocations: 11.44 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2658, allocations: 0 / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.00318/0.269, allocations: 315.2 kB / 415.5 MB, free: 11.77 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches