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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 51.91 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2646, allocations: 50.56 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002718/0.2674, allocations: 1.429 MB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003237/0.2677, allocations: 108.3 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2678, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.2678, allocations: 3.938 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.2679, allocations: 3.938 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2681, allocations: 23.97 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.2682, allocations: 23.92 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2683, allocations: 4 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.2684, allocations: 11.94 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.2684, allocations: 15.92 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2684, allocations: 8 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.2685, allocations: 0 / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2685, allocations: 0 / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.2685, allocations: 15.88 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.179e-05/0.2686, allocations: 31.83 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2686, allocations: 0 / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2686, allocations: 0 / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2686, allocations: 0 / 410.5 MB, free: 15.78 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.0005259/0.2692, allocations: 345.9 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2692, allocations: 8.031 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.2693, allocations: 38.75 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.2693, allocations: 0.9375 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.2696, allocations: 176.3 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2697, allocations: 8.312 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.2697, allocations: 384 / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.27, allocations: 103.9 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.27, allocations: 3.938 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.27, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.27, allocations: 4 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.2701, allocations: 19.92 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2703, allocations: 149.7 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2704, allocations: 50.55 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.2705, allocations: 28.92 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2705, allocations: 4 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.2706, allocations: 30.56 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2706, allocations: 0 / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.2708, allocations: 73.5 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.2708, allocations: 55.41 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.2709, allocations: 101.8 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.271, allocations: 29.7 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2711, allocations: 96.06 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.2711, allocations: 0 / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2711, allocations: 17.72 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2713, allocations: 314.8 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.2713, allocations: 4 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.2714, allocations: 31.44 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.2714, allocations: 31.38 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2714, allocations: 0 / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.69e-05/0.2715, allocations: 57.56 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2716, allocations: 16.06 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2716, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2716, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.454e-05/0.2716, allocations: 4 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2716, allocations: 3.984 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.2717, allocations: 4 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2717, allocations: 0 / 412.3 MB, free: 13.74 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 9.79e-05/0.2718, allocations: 113.8 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2719, allocations: 61.52 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.2719, allocations: 11.5 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2719, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.272, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.272, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2721, allocations: 161.6 kB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2721, allocations: 0 / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.2721, allocations: 4 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2721, allocations: 7.875 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.2721, allocations: 0 / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2721, allocations: 0 / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2722, allocations: 256 / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2723, allocations: 85.06 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.2724, allocations: 85.42 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2724, allocations: 7.938 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.2724, allocations: 0 / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-06/0.2724, allocations: 4 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2724, allocations: 0 / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.12e-05/0.2725, allocations: 83.28 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2725, allocations: 7.938 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.2727, allocations: 4 kB / 412.9 MB, free: 13.01 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.0004722/0.2732, allocations: 0.6124 MB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2733, allocations: 28.11 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2733, allocations: 4.062 kB / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2733, allocations: 0 / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.2735, allocations: 20.02 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2746, allocations: 1.15 MB / 414.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2749, allocations: 0.6807 MB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.275, allocations: 0 / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.275, allocations: 11.44 kB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.275, allocations: 4 kB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.2974, allocations: 1.234 MB / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.243, allocations: 7.844 kB / 416.6 MB, free: 9.234 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > 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.1.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