Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 109 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002428/0.002429, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.635/2.635, allocations: 222.9 MB / 241.8 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002076, allocations: 44.45 kB / 300.6 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.189, allocations: 49.45 MB / 350.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.006328/0.1955, allocations: 1.472 MB / 351.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004503/0.196, allocations: 107.7 kB / 351.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1961, allocations: 3.938 kB / 351.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.1962, allocations: 3.984 kB / 351.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.1963, allocations: 0 / 351.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1967, allocations: 23.92 kB / 351.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1969, allocations: 27.86 kB / 351.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.197, allocations: 8 kB / 351.7 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.1971, allocations: 7.984 kB / 351.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.1971, allocations: 7.938 kB / 351.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1972, allocations: 8 kB / 351.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.1972, allocations: 0 / 351.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.1972, allocations: 7.938 kB / 351.7 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1973, allocations: 11.92 kB / 351.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.1974, allocations: 15.97 kB / 351.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1974, allocations: 3.984 kB / 351.8 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1974, allocations: 0 / 351.8 MB, free: 2.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1974, allocations: 0 / 351.8 MB, free: 2.914 MB / 286.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.000667/0.1981, allocations: 339.7 kB / 352.1 MB, free: 2.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/0.1982, allocations: 16.03 kB / 352.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1983, allocations: 4.844 kB / 352.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1985, allocations: 168.4 kB / 352.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1986, allocations: 4.375 kB / 352.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1986, allocations: 4.375 kB / 352.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.199, allocations: 99.86 kB / 352.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1991, allocations: 4.188 kB / 352.4 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1991, allocations: 7.875 kB / 352.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1991, allocations: 0 / 352.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1992, allocations: 19.92 kB / 352.4 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1995, allocations: 153.7 kB / 352.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1997, allocations: 46.56 kB / 352.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.1998, allocations: 24.91 kB / 352.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1999, allocations: 4 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1999, allocations: 34.56 kB / 352.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.1999, allocations: 3.938 kB / 352.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003251/0.2003, allocations: 73.45 kB / 352.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.2003, allocations: 55.41 kB / 352.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2005, allocations: 101.9 kB / 352.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2005, allocations: 25.7 kB / 352.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.2006, allocations: 88.12 kB / 353 MB, free: 1.453 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.2006, allocations: 4 kB / 353 MB, free: 1.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.2007, allocations: 13.72 kB / 353 MB, free: 1.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2009, allocations: 314.8 kB / 353.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2009, allocations: 4 kB / 353.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2011, allocations: 27.42 kB / 353.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.2011, allocations: 39.38 kB / 353.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2011, allocations: 0 / 353.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.2013, allocations: 57.56 kB / 353.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2013, allocations: 4 kB / 353.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.2014, allocations: 12.31 kB / 353.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2014, allocations: 0 / 353.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.2015, allocations: 8 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2015, allocations: 0 / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.2015, allocations: 0 / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2016, allocations: 4 kB / 353.5 MB, free: 0.9297 MB / 286.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.000188/0.2017, allocations: 117.8 kB / 353.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2019, allocations: 57.52 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.202, allocations: 15.44 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.202, allocations: 4 kB / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.202, allocations: 0 / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.202, allocations: 0 / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2022, allocations: 153.7 kB / 353.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2023, allocations: 0 / 353.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.2023, allocations: 4 kB / 353.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2023, allocations: 3.984 kB / 353.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2024, allocations: 3.938 kB / 353.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2024, allocations: 0 / 353.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2024, allocations: 0 / 353.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.2026, allocations: 85 kB / 353.9 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.2027, allocations: 88.95 kB / 354 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2028, allocations: 3.938 kB / 354 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.2028, allocations: 3.984 kB / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-06/0.2028, allocations: 0 / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2028, allocations: 4 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.2029, allocations: 83.28 kB / 354.1 MB, free: 208 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2029, allocations: 0 / 354.1 MB, free: 208 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.2033, allocations: 8 kB / 354.1 MB, free: 200 kB / 286.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.0001921/0.2035, allocations: 103.2 kB / 354.2 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.2037, allocations: 20.3 kB / 354.2 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2037, allocations: 0 / 354.2 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2037, allocations: 0 / 354.2 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2041, allocations: 27.98 kB / 354.3 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.2047, allocations: 144.6 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.2053, allocations: 0.6809 MB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2054, allocations: 7.438 kB / 355.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2054, allocations: 0 / 355.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Templates: time 0.003698/0.2091, allocations: 0.5431 MB / 355.6 MB, free: 14.61 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches