Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.88e-05, allocations: 8.531 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00287/0.002899, allocations: 1.481 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.003154, allocations: 39.89 kB / 326.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.00324, allocations: 3.938 kB / 326.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.003277, allocations: 4 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.003337, allocations: 11.86 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.003686, allocations: 23.98 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003821, allocations: 43.91 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.003954, allocations: 7.984 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.004037, allocations: 23.92 kB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.004079, allocations: 11.98 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.004111, allocations: 4 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.004123, allocations: 4 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.004149, allocations: 11.97 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.004188, allocations: 11.94 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.004314, allocations: 43.88 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004317, allocations: 0 / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004319, allocations: 3.938 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.004324, allocations: 0 / 326.3 MB, free: 14.2 MB / 298.7 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.0005116/0.004836, allocations: 285.1 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.004887, allocations: 12.03 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.004931, allocations: 34.75 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.004961, allocations: 8.891 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.005196, allocations: 121.7 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.005253, allocations: 4.375 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.00527, allocations: 4.375 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.00569, allocations: 159.7 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005698, allocations: 192 / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.005708, allocations: 384 / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.005714, allocations: 8.125 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.005852, allocations: 47.94 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.00597, allocations: 124.8 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.00615, allocations: 86.53 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.006224, allocations: 40.81 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.006234, allocations: 0 / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.006257, allocations: 38.55 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.006259, allocations: 4 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002848/0.006544, allocations: 105.6 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.006599, allocations: 59.34 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.006662, allocations: 109.8 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.006672, allocations: 25.7 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.006708, allocations: 88.14 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.006724, allocations: 11.83 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.006751, allocations: 17.7 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.006833, allocations: 318.8 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.006843, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.006851, allocations: 4 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.006874, allocations: 12.86 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006877, allocations: 0 / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.662e-05/0.006923, allocations: 37.69 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.006938, allocations: 4 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.006942, allocations: 0 / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006954, allocations: 96 / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.007008, allocations: 15.88 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.007013, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.007023, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007027, allocations: 4 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.351e-05/0.007101, allocations: 113.8 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.007238, allocations: 89.58 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.007265, allocations: 12 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007266, allocations: 0 / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.007273, allocations: 3.938 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.007275, allocations: 0 / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.211e-05/0.007358, allocations: 128.8 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.007358, allocations: 0 / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.007409, allocations: 19.98 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.007409, allocations: 0 / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007416, allocations: 3.984 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007417, allocations: 0 / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.007419, allocations: 3.938 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.007568, allocations: 113 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.007584, allocations: 15.88 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.0076, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.007628, allocations: 11.92 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-06/0.007633, allocations: 11.94 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.007638, allocations: 288 / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.966e-05/0.007667, allocations: 83.28 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007667, allocations: 0 / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001179/0.007785, allocations: 4 kB / 328.7 MB, free: 11.55 MB / 298.7 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.0004657/0.008251, allocations: 0.6866 MB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.008369, allocations: 27.97 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008371, allocations: 7.938 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.008372, allocations: 128 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.008637, allocations: 43.94 kB / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.009386, allocations: 1.134 MB / 330.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.009426, allocations: 67.33 kB / 330.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.041e-05/0.009446, allocations: 0 / 330.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.009488, allocations: 16.5 kB / 330.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009489, allocations: 0 / 330.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02416, allocations: 2.149 MB / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/6.956, allocations: 7.234 kB / 332.8 MB, free: 7.418 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.689104766584933]