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.001566/0.001566, allocations: 122.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.001465/0.001466, allocations: 202 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.546/1.546, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3428, allocations: 50.54 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002793/0.3456, allocations: 1.478 MB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002084/0.3458, allocations: 35.84 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.3459, allocations: 0 / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3459, allocations: 3.938 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.346, allocations: 7.938 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3462, allocations: 19.97 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3463, allocations: 31.92 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.3464, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.3465, allocations: 15.92 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.3465, allocations: 19.91 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3466, allocations: 4 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.3466, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.3466, allocations: 11.94 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.3466, allocations: 11.94 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3468, allocations: 31.88 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3468, allocations: 4 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3468, allocations: 0 / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3468, allocations: 0 / 410.5 MB, free: 15.81 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.0004692/0.3473, allocations: 342.4 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3473, allocations: 12.03 kB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.3473, allocations: 30.75 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.3474, allocations: 8.891 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3476, allocations: 184.2 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3477, allocations: 4.312 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3477, allocations: 8.375 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.348, allocations: 111.8 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3481, allocations: 7.938 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3481, allocations: 7.938 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3481, allocations: 3.984 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3482, allocations: 19.98 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3484, allocations: 165.6 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3486, allocations: 54.48 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.3487, allocations: 32.92 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3487, allocations: 0 / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3487, allocations: 30.56 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3487, allocations: 4 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00028/0.349, allocations: 81.59 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3491, allocations: 51.41 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.3492, allocations: 109.8 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3492, allocations: 25.7 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.3493, allocations: 88.14 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.3493, allocations: 3.984 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.3493, allocations: 17.72 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3495, allocations: 314.8 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.3495, allocations: 8 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.3495, allocations: 27.42 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.3496, allocations: 43.38 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3496, allocations: 384 / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.5e-05/0.3497, allocations: 61.58 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3497, allocations: 10.75 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3497, allocations: 4 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3497, allocations: 4 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.3498, allocations: 8 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3498, allocations: 7.875 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.3498, allocations: 8.125 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.3499, allocations: 0 / 412.4 MB, free: 13.68 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 8.703e-05/0.3499, allocations: 117.8 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3501, allocations: 65.61 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.3502, allocations: 7.906 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3502, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3502, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3502, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.3503, allocations: 161.6 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3503, allocations: 4 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3504, allocations: 11.94 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3504, allocations: 3.938 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3504, allocations: 0 / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3504, allocations: 0 / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3504, allocations: 7.984 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3506, allocations: 97.27 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3507, allocations: 81.06 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3507, allocations: 3.938 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.3507, allocations: 11.98 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.3507, allocations: 0 / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.3507, allocations: 0 / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.3508, allocations: 87.28 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3508, allocations: 0 / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000183/0.351, allocations: 4 kB / 413 MB, free: 12.92 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.0006163/0.3516, allocations: 0.6514 MB / 413.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3518, allocations: 27.92 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3518, allocations: 0 / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.3518, allocations: 4 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3521, allocations: 24.02 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3532, allocations: 1.182 MB / 414.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3536, allocations: 0.6768 MB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.3536, allocations: 7.938 kB / 415.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3537, allocations: 11.44 kB / 415.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3537, allocations: 0 / 415.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3775, allocations: 1.374 MB / 417 MB, free: 8.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.212, allocations: 3.938 kB / 417 MB, free: 8.918 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.1.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