Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001353/0.001353, 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.001508/0.001508, 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 7.828 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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3157, allocations: 53.4 MB / 431.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00263/0.3184, allocations: 1.468 MB / 433.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.3185, allocations: 31.91 kB / 433.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.3186, allocations: 0 / 433.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.3186, allocations: 11.92 kB / 433.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.3187, allocations: 3.938 kB / 433.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3189, allocations: 27.34 kB / 433.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.319, allocations: 39.86 kB / 433.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3191, allocations: 11.98 kB / 433.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.3192, allocations: 11.94 kB / 433.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.3192, allocations: 31.89 kB / 433.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3192, allocations: 4 kB / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.3193, allocations: 0 / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.3193, allocations: 8 kB / 433.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3193, allocations: 11.94 kB / 433.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3194, allocations: 50.14 kB / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3194, allocations: 0 / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3194, allocations: 0 / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3194, allocations: 0 / 433.6 MB, free: 5.062 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.0005019/0.3199, allocations: 282.2 kB / 433.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.32, allocations: 12.03 kB / 433.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.32, allocations: 4.125 kB / 433.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.32, allocations: 30.75 kB / 433.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3201, allocations: 8.891 kB / 434 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3203, allocations: 122.4 kB / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3203, allocations: 8.375 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3203, allocations: 8.359 kB / 434.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.3209, allocations: 167.5 kB / 434.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3209, allocations: 0 / 434.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3209, allocations: 4 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3209, allocations: 0 / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.3211, allocations: 43.94 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.3213, allocations: 132.8 kB / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3216, allocations: 86.48 kB / 434.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3217, allocations: 36.88 kB / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3218, allocations: 0 / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3218, allocations: 46.42 kB / 434.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3218, allocations: 0 / 434.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004735/0.3223, allocations: 105.6 kB / 434.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.3223, allocations: 63.34 kB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.3224, allocations: 105.8 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3224, allocations: 25.7 kB / 434.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3225, allocations: 84.14 kB / 435 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3225, allocations: 11.95 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3225, allocations: 17.7 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3226, allocations: 314.8 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3227, allocations: 4 kB / 435.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.3227, allocations: 35.42 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.3227, allocations: 35.38 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3228, allocations: 0 / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.013e-05/0.3228, allocations: 65.62 kB / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3229, allocations: 7.938 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3229, allocations: 0 / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3229, allocations: 4 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.3229, allocations: 7.938 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3229, allocations: 4 kB / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.323, allocations: 0 / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.323, allocations: 4 kB / 435.5 MB, free: 2.988 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.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.463e-05/0.3231, allocations: 113.8 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.3233, allocations: 97.64 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3234, allocations: 8 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3234, allocations: 0 / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3234, allocations: 0 / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3234, allocations: 4.172 kB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.3235, allocations: 132.7 kB / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3235, allocations: 0 / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.3236, allocations: 19.91 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3236, allocations: 7.922 kB / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3236, allocations: 0 / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3236, allocations: 4 kB / 435.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3236, allocations: 4 kB / 435.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3239, allocations: 117.1 kB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.3239, allocations: 3.938 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3239, allocations: 4 kB / 436 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.324, allocations: 11.98 kB / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.324, allocations: 0 / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.324, allocations: 0 / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.3241, allocations: 91.27 kB / 436.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3241, allocations: 0 / 436.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.3243, allocations: 4 kB / 436.1 MB, free: 2.293 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 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.0007991/0.3251, allocations: 0.6865 MB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3253, allocations: 43.91 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3253, allocations: 0 / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3253, allocations: 0 / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3256, allocations: 42.73 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3268, allocations: 1.197 MB / 438 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.3268, allocations: 71.66 kB / 438.1 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3269, allocations: 0 / 438.1 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3269, allocations: 19.42 kB / 438.1 MB, free: 92 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3269, allocations: 0 / 438.1 MB, free: 92 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.3493, allocations: 1.711 MB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.19, allocations: 12 kB / 439.9 MB, free: 14.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.850662798038684]