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.001425/0.001425, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001933, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.89 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2737, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002649/0.2763, allocations: 1.44 MB / 410.2 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.2767, allocations: 91.75 kB / 410.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2768, allocations: 0 / 410.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.2769, allocations: 7.922 kB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.2769, allocations: 7.938 kB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2773, allocations: 16.03 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2774, allocations: 27.88 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2775, allocations: 11.98 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.2776, allocations: 11.92 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.2776, allocations: 15.92 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.2776, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.2777, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.2777, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.2777, allocations: 19.88 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2779, allocations: 27.84 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2779, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2779, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.2779, allocations: 0 / 410.4 MB, free: 15.86 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.0005819/0.2785, allocations: 345 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.2786, allocations: 16.02 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.2786, allocations: 34.75 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2787, allocations: 0.9375 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.279, allocations: 180.3 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.279, allocations: 4.375 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.279, allocations: 4.375 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.2794, allocations: 95.88 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2794, allocations: 3.938 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2794, allocations: 4 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2795, allocations: 4 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.2795, allocations: 15.92 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.2797, allocations: 153.7 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.2799, allocations: 46.59 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.2799, allocations: 20.89 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.28, allocations: 3.984 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.28, allocations: 42.56 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.28, allocations: 0 / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002428/0.2803, allocations: 69.55 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2804, allocations: 55.41 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2805, allocations: 105.8 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2805, allocations: 25.7 kB / 411.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2806, allocations: 84.12 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2806, allocations: 8 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2806, allocations: 17.66 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2808, allocations: 314.8 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.2808, allocations: 4 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.2809, allocations: 27.42 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.2809, allocations: 39.38 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2809, allocations: 0 / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.181e-05/0.281, allocations: 57.56 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.281, allocations: 7.938 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2811, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2811, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.2811, allocations: 4.125 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2812, allocations: 4 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.2812, allocations: 4 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2812, allocations: 4 kB / 412.2 MB, free: 13.82 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 0.0001099/0.2813, allocations: 109.8 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2814, allocations: 65.55 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.2815, allocations: 3.5 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2815, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2815, allocations: 7.938 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2815, allocations: 4 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2816, allocations: 161.5 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2816, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.2816, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2816, allocations: 7.922 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.2817, allocations: 0 / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2817, allocations: 4 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2817, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.2818, allocations: 77.12 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2818, allocations: 81.3 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2819, allocations: 11.94 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.2819, allocations: 7.984 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.2819, allocations: 0 / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2819, allocations: 0 / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.629e-05/0.2819, allocations: 79.28 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2819, allocations: 0 / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.2822, allocations: 8 kB / 412.8 MB, free: 13.1 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.0003899/0.2826, allocations: 0.6244 MB / 413.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.2827, allocations: 23.92 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2827, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.2827, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2829, allocations: 20.39 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.2838, allocations: 1.142 MB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2841, allocations: 0.6807 MB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.952e-05/0.2841, allocations: 11.89 kB / 415.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.2842, allocations: 7.438 kB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2842, allocations: 96 / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.3006, allocations: 1.243 MB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.707, allocations: 7.922 kB / 416.6 MB, free: 9.312 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.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