Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.6 MB / 244.4 MB, free: 8.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007769/0.0007768, allocations: 98.3 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002279, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.21, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00136/0.2114, allocations: 1.144 MB / 408.6 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.2117, allocations: 99.77 kB / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.2117, allocations: 0.5 kB / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.2118, allocations: 6.156 kB / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.2118, allocations: 0 / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.212, allocations: 31.91 kB / 408.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.2121, allocations: 15.94 kB / 408.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.2122, allocations: 11.98 kB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.2122, allocations: 4.531 kB / 408.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.2123, allocations: 7.938 kB / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.2123, allocations: 1.281 kB / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.2123, allocations: 0 / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2123, allocations: 11.98 kB / 408.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.2124, allocations: 31.14 kB / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.642e-05/0.2124, allocations: 15.95 kB / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2124, allocations: 0 / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2124, allocations: 0 / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2125, allocations: 0.625 kB / 408.9 MB, free: 26.45 MB / 298.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.0003297/0.2128, allocations: 337 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2128, allocations: 8.781 kB / 409.2 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.2129, allocations: 0 / 409.2 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.213, allocations: 183.4 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.213, allocations: 3.469 kB / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.213, allocations: 0 / 409.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.2133, allocations: 111.2 kB / 409.5 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2133, allocations: 0 / 409.5 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2133, allocations: 5.703 kB / 409.5 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2133, allocations: 0 / 409.5 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.2134, allocations: 19.92 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.2135, allocations: 165.1 kB / 409.7 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2136, allocations: 42.56 kB / 409.7 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.2137, allocations: 24.92 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2137, allocations: 7.938 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2138, allocations: 38.52 kB / 409.8 MB, free: 25.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2138, allocations: 0 / 409.8 MB, free: 25.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001923/0.214, allocations: 69.61 kB / 409.9 MB, free: 25.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.214, allocations: 51.41 kB / 409.9 MB, free: 25.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.2141, allocations: 105.8 kB / 410 MB, free: 25.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.2141, allocations: 25.7 kB / 410 MB, free: 25.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.2141, allocations: 84.14 kB / 410.1 MB, free: 24.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.2141, allocations: 4 kB / 410.1 MB, free: 24.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.2142, allocations: 0 / 410.1 MB, free: 24.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2142, allocations: 314.8 kB / 410.4 MB, free: 24.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-06/0.2142, allocations: 4 kB / 410.4 MB, free: 24.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.2143, allocations: 27.42 kB / 410.5 MB, free: 24.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.2143, allocations: 15.94 kB / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2143, allocations: 0 / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.106e-05/0.2143, allocations: 57.53 kB / 410.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2144, allocations: 8 kB / 410.5 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2144, allocations: 3.953 kB / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2144, allocations: 0 / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.2144, allocations: 4 kB / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2145, allocations: 0 / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.2145, allocations: 12.06 kB / 410.6 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-06/0.2145, allocations: 0 / 410.6 MB, free: 24.52 MB / 298.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 5.861e-05/0.2146, allocations: 117.8 kB / 410.7 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.2146, allocations: 49.69 kB / 410.7 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2147, allocations: 11.48 kB / 410.7 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2147, allocations: 7.953 kB / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2147, allocations: 0 / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2147, allocations: 0 / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.134e-05/0.2147, allocations: 157.7 kB / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2148, allocations: 0 / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.2148, allocations: 0 / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2148, allocations: 0 / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2148, allocations: 4 kB / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2148, allocations: 3.984 kB / 410.9 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2148, allocations: 4.281 kB / 410.9 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2149, allocations: 88.95 kB / 411 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.215, allocations: 85.05 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.215, allocations: 0 / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.215, allocations: 256 / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.215, allocations: 4 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.215, allocations: 11.94 kB / 411.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.215, allocations: 87.22 kB / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2151, allocations: 0 / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.2152, allocations: 4 kB / 411.2 MB, free: 23.79 MB / 298.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 8.607e-05/0.2153, allocations: 99.25 kB / 411.3 MB, free: 23.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.2154, allocations: 23.92 kB / 411.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2154, allocations: 0 / 411.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2154, allocations: 0 / 411.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2157, allocations: 22.84 kB / 411.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.2159, allocations: 154.6 kB / 411.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.216, allocations: 0.6809 MB / 412.2 MB, free: 22.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.2161, allocations: 7.438 kB / 412.2 MB, free: 22.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2161, allocations: 0 / 412.2 MB, free: 22.73 MB / 298.7 MB Notification: Performance of Templates: time 0.001589/0.2177, allocations: 0.5229 MB / 412.7 MB, free: 22.21 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches