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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0024/0.0024, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 59.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 53.41 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003336/0.3619, allocations: 1.471 MB / 433.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.3621, allocations: 27.91 kB / 433.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.3622, allocations: 4 kB / 433.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3623, allocations: 3.938 kB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.3623, allocations: 7.875 kB / 433.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3627, allocations: 23.97 kB / 433.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3628, allocations: 27.92 kB / 433.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3629, allocations: 4 kB / 433.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.3629, allocations: 23.92 kB / 433.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.363, allocations: 7.938 kB / 433.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.363, allocations: 4 kB / 433.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.363, allocations: 4 kB / 433.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.363, allocations: 15.91 kB / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.3631, allocations: 7.938 kB / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3632, allocations: 30.02 kB / 433.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3632, allocations: 0 / 433.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3632, allocations: 0 / 433.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3632, allocations: 0 / 433.6 MB, free: 4.816 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.0004961/0.3637, allocations: 274.2 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3638, allocations: 12.03 kB / 433.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.3638, allocations: 4.188 kB / 433.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.3638, allocations: 34.73 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.3639, allocations: 12.83 kB / 433.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3641, allocations: 118.5 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.3641, allocations: 4.375 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3642, allocations: 384 / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.3645, allocations: 127.6 kB / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3646, allocations: 0 / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3646, allocations: 0 / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3646, allocations: 0 / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3647, allocations: 31.91 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.3649, allocations: 128.7 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.365, allocations: 54.55 kB / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.3651, allocations: 28.91 kB / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3651, allocations: 0 / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3652, allocations: 34.5 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3652, allocations: 0 / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002782/0.3654, allocations: 85.59 kB / 434.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.3655, allocations: 59.41 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.3656, allocations: 105.8 kB / 434.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3656, allocations: 25.7 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3657, allocations: 80.14 kB / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.3657, allocations: 4 kB / 434.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3657, allocations: 17.7 kB / 434.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3659, allocations: 318.8 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.3659, allocations: 8.188 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.3659, allocations: 35.42 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.366, allocations: 39.38 kB / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.366, allocations: 0 / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.886e-05/0.3661, allocations: 69.52 kB / 435.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3661, allocations: 7.938 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3661, allocations: 7.984 kB / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3661, allocations: 0 / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.3662, allocations: 12.12 kB / 435.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3662, allocations: 3.938 kB / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.3662, allocations: 4 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3662, allocations: 0 / 435.3 MB, free: 2.879 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.27e-05/0.3663, allocations: 117.8 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.3665, allocations: 65.55 kB / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.3665, allocations: 12 kB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3665, allocations: 0 / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3665, allocations: 0 / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3665, allocations: 0 / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3666, allocations: 132.7 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3666, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.3667, allocations: 8 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.3667, allocations: 7.922 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3667, allocations: 4 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3667, allocations: 0 / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3667, allocations: 0 / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3669, allocations: 85.11 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3669, allocations: 11.89 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3669, allocations: 0 / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.367, allocations: 11.92 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-06/0.367, allocations: 4 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.367, allocations: 0 / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.367, allocations: 87.41 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.367, allocations: 3.938 kB / 435.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.3672, allocations: 4 kB / 435.8 MB, free: 2.25 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.0006569/0.3679, allocations: 0.644 MB / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.368, allocations: 35.91 kB / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.368, allocations: 0 / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-06/0.368, allocations: 4.297 kB / 436.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3684, allocations: 28.02 kB / 436.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3697, allocations: 1.181 MB / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.3698, allocations: 67.34 kB / 437.8 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.3698, allocations: 0 / 437.8 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.3698, allocations: 11.44 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3698, allocations: 0 / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.392, allocations: 1.574 MB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.21, allocations: 4.062 kB / 439.4 MB, free: 14.68 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.000199561 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.861122200032696]