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.001593/0.001593, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002181/0.002181, allocations: 217.6 kB / 23.73 MB, free: 4.406 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2966, allocations: 53.4 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003034/0.2996, allocations: 1.479 MB / 432.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.2998, allocations: 35.91 kB / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.2999, allocations: 0 / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3, allocations: 7.922 kB / 432.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.3, allocations: 7.938 kB / 432.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3003, allocations: 31.91 kB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3004, allocations: 35.92 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3006, allocations: 7.984 kB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.3006, allocations: 11.94 kB / 432.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.3007, allocations: 19.91 kB / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3007, allocations: 4 kB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.3007, allocations: 4 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.3007, allocations: 7.984 kB / 432.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.3008, allocations: 11.94 kB / 432.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3009, allocations: 57.42 kB / 432.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3009, allocations: 0 / 432.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3009, allocations: 0 / 432.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3009, allocations: 4 kB / 432.9 MB, free: 4.742 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.0005878/0.3015, allocations: 274.3 kB / 433.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3016, allocations: 11.98 kB / 433.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.3016, allocations: 34.75 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.3017, allocations: 8.891 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3019, allocations: 126.4 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3019, allocations: 384 / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.302, allocations: 8.375 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.3026, allocations: 159.7 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3026, allocations: 3.938 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3026, allocations: 0 / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3026, allocations: 3.938 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.3028, allocations: 47.94 kB / 433.5 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.303, allocations: 128.8 kB / 433.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3033, allocations: 86.44 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3034, allocations: 40.84 kB / 433.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3035, allocations: 0 / 433.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3035, allocations: 38.56 kB / 433.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3035, allocations: 0 / 433.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000485/0.304, allocations: 117.5 kB / 433.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.304, allocations: 51.41 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.3041, allocations: 113.8 kB / 434.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3041, allocations: 25.7 kB / 434.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.3042, allocations: 88.14 kB / 434.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.3042, allocations: 3.953 kB / 434.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3042, allocations: 21.7 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3044, allocations: 314.8 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.3044, allocations: 8 kB / 434.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.3044, allocations: 31.42 kB / 434.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.3045, allocations: 39.38 kB / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3045, allocations: 0 / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.532e-05/0.3046, allocations: 57.72 kB / 434.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3046, allocations: 11.97 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3046, allocations: 0 / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3046, allocations: 4 kB / 434.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.3047, allocations: 11.94 kB / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3047, allocations: 0 / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.3047, allocations: 0 / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3047, allocations: 4 kB / 434.7 MB, free: 2.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.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 9.156e-05/0.3048, allocations: 113.8 kB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.3051, allocations: 93.52 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3051, allocations: 8 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3051, allocations: 4 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3051, allocations: 0 / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3051, allocations: 4 kB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3052, allocations: 128.8 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3052, allocations: 4 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.3053, allocations: 19.91 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3053, allocations: 7.938 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3053, allocations: 0 / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3053, allocations: 0 / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3053, allocations: 0 / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3057, allocations: 117 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.3057, allocations: 7.938 kB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3057, allocations: 7.938 kB / 435.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.3057, allocations: 11.98 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.3058, allocations: 0 / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3058, allocations: 0 / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.3058, allocations: 87.27 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3058, allocations: 0 / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.306, allocations: 8 kB / 435.3 MB, free: 1.984 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.0008249/0.3068, allocations: 0.6897 MB / 436 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.307, allocations: 43.97 kB / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.307, allocations: 0 / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.307, allocations: 0 / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.3074, allocations: 46.73 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3086, allocations: 1.197 MB / 437.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.3086, allocations: 63.34 kB / 437.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.3086, allocations: 8.25 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3087, allocations: 19.36 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3087, allocations: 0 / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3384, allocations: 2.041 MB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.98, allocations: 11.23 kB / 439.4 MB, free: 13.84 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.52221033303067]