Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00152/0.00152, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, 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.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 50.55 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002579/0.302, allocations: 1.448 MB / 410.2 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.3023, allocations: 91.69 kB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.3023, allocations: 4 kB / 410.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3024, allocations: 0 / 410.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.3025, allocations: 8.047 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3027, allocations: 27.91 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.3028, allocations: 23.92 kB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3029, allocations: 11.83 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.303, allocations: 7.984 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.303, allocations: 11.94 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.303, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.3031, allocations: 0 / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.3031, allocations: 15.92 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.3031, allocations: 11.92 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.442e-05/0.3032, allocations: 27.91 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3032, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3032, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3032, 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.0003924/0.3036, allocations: 337.2 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3037, allocations: 8.031 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.3037, allocations: 38.73 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.3038, allocations: 8.844 kB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.304, allocations: 180.2 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.304, allocations: 8.312 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.304, allocations: 4.375 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.3043, allocations: 107.8 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3043, allocations: 3.938 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3043, allocations: 4 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3043, allocations: 4 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.3044, allocations: 15.98 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.3045, allocations: 157.7 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3047, allocations: 54.48 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.3047, allocations: 20.89 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3048, allocations: 8.031 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3048, allocations: 42.56 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3048, allocations: 0 / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.305, allocations: 77.5 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3051, allocations: 51.41 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.3052, allocations: 109.8 kB / 411.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3052, allocations: 25.7 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3052, allocations: 92.14 kB / 411.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.3052, allocations: 0 / 411.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3053, allocations: 17.72 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3054, allocations: 314.8 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.3054, allocations: 4 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.3054, allocations: 27.44 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.3055, allocations: 35.38 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3055, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.212e-05/0.3056, allocations: 53.62 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3056, allocations: 11.94 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3056, allocations: 4.125 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.3056, allocations: 0 / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.3057, allocations: 11.98 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3057, allocations: 3.938 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.3057, allocations: 0 / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3057, allocations: 4 kB / 412.2 MB, free: 13.78 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 7.407e-05/0.3058, allocations: 117.8 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3059, allocations: 57.53 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.306, allocations: 15.89 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.306, allocations: 4 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.306, allocations: 0 / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.306, allocations: 3.938 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.087e-05/0.3061, allocations: 153.7 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3061, allocations: 0 / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.3062, allocations: 11.98 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.3062, allocations: 7.875 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3062, allocations: 3.938 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3062, allocations: 0 / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3062, allocations: 0 / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3063, allocations: 85.36 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3064, allocations: 84.95 kB / 412.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3064, allocations: 11.94 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.3064, allocations: 0 / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.3065, allocations: 0 / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3065, allocations: 4 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.3065, allocations: 87.27 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 4 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000189/0.3067, allocations: 4 kB / 412.9 MB, free: 13.02 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.0004204/0.3071, allocations: 0.6202 MB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3073, allocations: 31.98 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3073, allocations: 0 / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3073, allocations: 0 / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3075, allocations: 20.44 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.3085, allocations: 1.158 MB / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3087, allocations: 0.6807 MB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.3087, allocations: 7.984 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3088, allocations: 7.438 kB / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3088, allocations: 0 / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.3276, allocations: 1.254 MB / 416.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.713, allocations: 11.36 kB / 416.7 MB, free: 9.219 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches