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) 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) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007389/0.0007389, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008942/0.0008943, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002146, allocations: 4 kB / 308.4 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08836, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001627/0.09003, allocations: 1.145 MB / 361.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.09029, allocations: 99.69 kB / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.09036, allocations: 0 / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.09038, allocations: 0 / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.09042, allocations: 0 / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.09065, allocations: 31.91 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.09073, allocations: 23.92 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.09082, allocations: 12 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.09086, allocations: 11.92 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.09089, allocations: 11.92 kB / 361.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.09091, allocations: 0 / 361.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.09092, allocations: 4 kB / 361.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.09094, allocations: 0 / 361.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.09099, allocations: 37.58 kB / 361.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.37e-05/0.09105, allocations: 15.97 kB / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.09106, allocations: 0 / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09106, allocations: 0 / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.09107, allocations: 0 / 361.3 MB, free: 11.63 MB / 302.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.0003506/0.09143, allocations: 339.7 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.09147, allocations: 12.03 kB / 361.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.0915, allocations: 0.9375 kB / 361.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.09166, allocations: 172.3 kB / 361.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.09169, allocations: 8.359 kB / 361.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.09171, allocations: 4.375 kB / 361.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.09199, allocations: 103.8 kB / 361.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.09201, allocations: 4.172 kB / 361.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.09202, allocations: 3.938 kB / 361.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.09203, allocations: 0 / 361.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.0921, allocations: 16 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.09223, allocations: 157.7 kB / 362.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.09236, allocations: 50.56 kB / 362.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.09243, allocations: 24.88 kB / 362.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.09246, allocations: 4.031 kB / 362.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.09249, allocations: 34.5 kB / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.0925, allocations: 0 / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.09269, allocations: 73.53 kB / 362.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.09274, allocations: 55.41 kB / 362.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.09282, allocations: 105.8 kB / 362.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.09284, allocations: 29.64 kB / 362.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.09287, allocations: 80.14 kB / 362.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.09288, allocations: 0 / 362.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.09291, allocations: 21.7 kB / 362.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.09303, allocations: 314.8 kB / 362.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.09305, allocations: 7.938 kB / 362.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.09308, allocations: 31.38 kB / 362.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.09312, allocations: 35.42 kB / 363 MB, free: 9.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.09313, allocations: 7.938 kB / 363 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.349e-05/0.09321, allocations: 45.64 kB / 363 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.09324, allocations: 11.98 kB / 363 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.09325, allocations: 3.938 kB / 363 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.09327, allocations: 0 / 363 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.09331, allocations: 4 kB / 363 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.09332, allocations: 0 / 363 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.09335, allocations: 4.125 kB / 363 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.09336, allocations: 4 kB / 363 MB, free: 9.645 MB / 302.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 7.588e-05/0.09344, allocations: 125.7 kB / 363.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.09353, allocations: 53.59 kB / 363.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.09357, allocations: 15.44 kB / 363.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.09358, allocations: 0 / 363.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.09359, allocations: 3.984 kB / 363.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.0936, allocations: 0 / 363.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.424e-05/0.09369, allocations: 153.7 kB / 363.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0937, allocations: 4.25 kB / 363.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.09372, allocations: 4 kB / 363.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.09373, allocations: 4 kB / 363.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.09374, allocations: 3.938 kB / 363.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.09375, allocations: 0 / 363.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.09375, allocations: 0 / 363.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.09388, allocations: 85.05 kB / 363.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.09393, allocations: 85.02 kB / 363.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.09395, allocations: 3.938 kB / 363.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.09398, allocations: 4 kB / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.09398, allocations: 0 / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.09399, allocations: 0 / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.09404, allocations: 87.27 kB / 363.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09405, allocations: 0 / 363.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000181/0.09423, allocations: 4 kB / 363.7 MB, free: 8.91 MB / 302.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 8.991e-05/0.09433, allocations: 99.25 kB / 363.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.391e-05/0.09443, allocations: 28.3 kB / 363.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.09444, allocations: 3.938 kB / 363.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.09445, allocations: 3.938 kB / 363.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.09465, allocations: 20.03 kB / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.09491, allocations: 146.8 kB / 364 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.09515, allocations: 0.6809 MB / 364.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.09517, allocations: 11.44 kB / 364.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 1.492e-06/0.09518, allocations: 0 / 364.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Templates: time 0.001623/0.09681, allocations: 0.5276 MB / 365.2 MB, free: 7.324 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches