Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.617/1.617, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.88 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3604, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002875/0.3633, allocations: 1.457 MB / 410.2 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.3636, allocations: 35.84 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3637, allocations: 0 / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.3637, allocations: 3.938 kB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.3638, allocations: 3.938 kB / 410.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3641, allocations: 23.52 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.3642, allocations: 31.88 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3643, allocations: 11.98 kB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.3643, allocations: 11.94 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.3644, allocations: 19.91 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3644, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.3644, allocations: 0 / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3644, allocations: 11.94 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.3645, allocations: 15.92 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.3646, allocations: 27.89 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3646, allocations: 0 / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3646, allocations: 0 / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3646, allocations: 4 kB / 410.4 MB, free: 15.85 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.0004647/0.3651, allocations: 345.2 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3652, allocations: 12.03 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.3652, allocations: 30.75 kB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3652, allocations: 8.844 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3655, allocations: 184.2 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3655, allocations: 4.359 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3655, allocations: 8.375 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.3659, allocations: 115.9 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.366, allocations: 7.938 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.366, allocations: 4 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.366, allocations: 3.938 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3661, allocations: 23.97 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3663, allocations: 157.7 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3665, allocations: 58.52 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.3666, allocations: 32.88 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.3666, allocations: 0 / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3666, allocations: 30.56 kB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3666, allocations: 0 / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002965/0.3669, allocations: 85.5 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.367, allocations: 59.34 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.3671, allocations: 105.8 kB / 411.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3671, allocations: 25.7 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.3672, allocations: 88.14 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.3672, allocations: 0 / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.3672, allocations: 17.72 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3673, allocations: 314.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.3673, allocations: 8 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.3674, allocations: 27.44 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.3674, allocations: 39.38 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3674, allocations: 0 / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.667e-05/0.3675, allocations: 61.84 kB / 412.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3676, allocations: 7.938 kB / 412.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3676, allocations: 4 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3676, allocations: 3.984 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.3677, allocations: 19.86 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3677, allocations: 0 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.3677, allocations: 7.906 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.3677, allocations: 0 / 412.3 MB, free: 13.72 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.147e-05/0.3678, allocations: 117.8 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.368, allocations: 69.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.368, allocations: 7.906 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.368, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.368, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3681, allocations: 3.984 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3682, allocations: 153.7 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3682, allocations: 384 / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.3683, allocations: 15.92 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3683, allocations: 3.938 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3683, allocations: 4 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3683, allocations: 8 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3683, allocations: 0 / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3685, allocations: 89.02 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3686, allocations: 89.03 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3686, allocations: 3.938 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.3686, allocations: 4 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.3686, allocations: 0 / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3686, allocations: 4 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.3687, allocations: 91.27 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3687, allocations: 0 / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.3689, allocations: 4 kB / 412.9 MB, free: 12.95 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005555/0.3695, allocations: 0.6474 MB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3697, allocations: 36.09 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3697, allocations: 4 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.3697, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.37, allocations: 26.77 kB / 413.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.371, allocations: 1.177 MB / 414.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3714, allocations: 0.6807 MB / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.3715, allocations: 0 / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3715, allocations: 19.42 kB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3715, allocations: 0 / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3927, allocations: 1.378 MB / 416.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.363, allocations: 8.875 kB / 416.9 MB, free: 8.934 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches