Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001563/0.001563, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003117/0.003117, allocations: 64.06 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3298, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003361/0.3332, allocations: 1.475 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.3336, allocations: 99.66 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.3337, allocations: 0 / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3338, allocations: 7.938 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.3338, allocations: 3.938 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3341, allocations: 19.97 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.3342, allocations: 27.86 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3343, allocations: 12 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.3344, allocations: 8 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.3344, allocations: 11.92 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3344, allocations: 4 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.3345, allocations: 0 / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.3345, allocations: 7.938 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.3345, allocations: 15.92 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3346, allocations: 31.83 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3347, allocations: 0 / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3347, allocations: 0 / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3347, allocations: 0 / 410.6 MB, free: 15.73 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.0005083/0.3352, allocations: 342.4 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3353, allocations: 12.03 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.3353, allocations: 30.75 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3354, allocations: 12.88 kB / 410.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3356, allocations: 180.3 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3356, allocations: 384 / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3356, allocations: 8.312 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.336, allocations: 111.9 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.336, allocations: 3.938 kB / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.336, allocations: 0 / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.336, allocations: 0 / 411.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.3361, allocations: 19.92 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.3363, allocations: 169.6 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3365, allocations: 46.56 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.3366, allocations: 24.92 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3366, allocations: 3.984 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3366, allocations: 34.56 kB / 411.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3366, allocations: 0 / 411.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.3369, allocations: 81.53 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.337, allocations: 51.41 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.3371, allocations: 109.8 kB / 411.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3371, allocations: 25.7 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3372, allocations: 88.12 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.3372, allocations: 4 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3372, allocations: 13.72 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3374, allocations: 318.8 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.3374, allocations: 3.984 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.3375, allocations: 27.44 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.3375, allocations: 39.38 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3375, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.622e-05/0.3376, allocations: 61.52 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3376, allocations: 10.59 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3377, allocations: 4 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3377, allocations: 0 / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.3377, allocations: 8 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3378, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.3378, allocations: 4.125 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3378, allocations: 4 kB / 412.4 MB, free: 13.66 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: 0 () * 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.0001026/0.3379, allocations: 113.8 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.338, allocations: 61.56 kB / 412.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3381, allocations: 8.234 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3381, allocations: 0 / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3381, allocations: 3.938 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3381, allocations: 7.969 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3383, allocations: 153.7 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3383, allocations: 8 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3383, allocations: 4 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3384, allocations: 3.938 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3384, allocations: 4 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3384, allocations: 0 / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3384, allocations: 3.984 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3386, allocations: 85.02 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.3386, allocations: 89.03 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3387, allocations: 3.938 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.3387, allocations: 4 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-06/0.3387, allocations: 256 / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3387, allocations: 0 / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.3388, allocations: 87.28 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 0 / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.339, allocations: 4 kB / 413 MB, free: 12.91 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: 0 () * 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.000614/0.3396, allocations: 0.6279 MB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.3397, allocations: 31.92 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3397, allocations: 0 / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.3397, allocations: 0 / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.34, allocations: 24.19 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3413, allocations: 1.15 MB / 414.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3417, allocations: 0.6807 MB / 415.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.3417, allocations: 4 kB / 415.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3418, allocations: 11.44 kB / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3418, allocations: 0 / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3669, allocations: 1.243 MB / 416.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.33, allocations: 3.938 kB / 416.8 MB, free: 9.09 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches