Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002956/0.002956, allocations: 185.6 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.101/4.101, allocations: 205.4 MB / 222.6 MB, free: 13.74 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001989/0.001988, allocations: 98.84 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2094/0.2094, allocations: 12.59 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009773/0.0009779, allocations: 20 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1937, allocations: 50.38 MB / 442.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00283/0.1966, allocations: 1.128 MB / 443.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.1971, allocations: 95.7 kB / 443.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1973, allocations: 4 kB / 443.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.1974, allocations: 7.922 kB / 443.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.1974, allocations: 4 kB / 443.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1979, allocations: 15.98 kB / 443.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.198, allocations: 15.97 kB / 443.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1981, allocations: 8.125 kB / 443.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.1982, allocations: 7.938 kB / 443.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.1983, allocations: 15.92 kB / 443.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1983, allocations: 0 / 443.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.1983, allocations: 0 / 443.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1984, allocations: 0 / 443.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1985, allocations: 29.7 kB / 443.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.1986, allocations: 27.95 kB / 443.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1986, allocations: 0 / 443.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1986, allocations: 3.938 kB / 443.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1986, allocations: 0 / 443.7 MB, free: 10.25 MB / 282.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.0005002/0.1992, allocations: 328.1 kB / 444 MB, free: 9.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1992, allocations: 12.03 kB / 444 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.1993, allocations: 3.906 kB / 444 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1995, allocations: 179 kB / 444.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.1996, allocations: 4 kB / 444.2 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1996, allocations: 7.953 kB / 444.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.2002, allocations: 111.3 kB / 444.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2002, allocations: 0 / 444.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2003, allocations: 0 / 444.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2003, allocations: 0 / 444.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2004, allocations: 19.98 kB / 444.4 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.2006, allocations: 157.6 kB / 444.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.2009, allocations: 50.59 kB / 444.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.201, allocations: 144 / 444.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.201, allocations: 42.5 kB / 444.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.265e-06/0.201, allocations: 0 / 444.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004014/0.2015, allocations: 65.62 kB / 444.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2015, allocations: 51.41 kB / 444.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2017, allocations: 109.8 kB / 444.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2017, allocations: 25.7 kB / 444.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.2018, allocations: 150.6 kB / 445 MB, free: 8.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.2018, allocations: 7.938 kB / 445 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.2018, allocations: 4 kB / 445 MB, free: 8.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.2019, allocations: 314.8 kB / 445.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.202, allocations: 3.984 kB / 445.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.202, allocations: 27.62 kB / 445.3 MB, free: 8.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.2021, allocations: 8 kB / 445.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2021, allocations: 0 / 445.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001759/0.2023, allocations: 57.66 kB / 445.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.2024, allocations: 7.953 kB / 445.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2024, allocations: 4 kB / 445.4 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.2024, allocations: 3.984 kB / 445.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.2025, allocations: 8 kB / 445.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2026, allocations: 0 / 445.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.2026, allocations: 0 / 445.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2027, allocations: 8.125 kB / 445.4 MB, free: 8.281 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.2028, allocations: 121.5 kB / 445.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.2031, allocations: 57.62 kB / 445.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.2032, allocations: 11.39 kB / 445.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2032, allocations: 0 / 445.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2032, allocations: 0 / 445.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2032, allocations: 0 / 445.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2034, allocations: 153.7 kB / 445.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2034, allocations: 4 kB / 445.8 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.2035, allocations: 4 kB / 445.8 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.2035, allocations: 3.984 kB / 445.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2035, allocations: 0 / 445.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.2035, allocations: 4.203 kB / 445.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.2035, allocations: 0 / 445.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.2038, allocations: 88.97 kB / 445.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2039, allocations: 81.11 kB / 446 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.204, allocations: 8 kB / 446 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.204, allocations: 3.984 kB / 446 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.2041, allocations: 3.953 kB / 446 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2041, allocations: 4 kB / 446 MB, free: 7.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.2042, allocations: 79.28 kB / 446.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2042, allocations: 0 / 446.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.2047, allocations: 4 kB / 446.1 MB, free: 7.555 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.2048, allocations: 95.25 kB / 446.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.2051, allocations: 27.92 kB / 446.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2052, allocations: 0 / 446.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.2052, allocations: 0 / 446.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2056, allocations: 35.62 kB / 446.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.2061, allocations: 138.4 kB / 446.4 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2063, allocations: 0.689 MB / 447 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2063, allocations: 7.438 kB / 447.1 MB, free: 6.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2063, allocations: 0 / 447.1 MB, free: 6.5 MB / 282.7 MB Notification: Performance of Templates: time 0.003201/0.2096, allocations: 0.524 MB / 447.6 MB, free: 5.98 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches