Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 249.1 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 56 kB / 365.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09579, allocations: 52.14 MB / 417.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002604/0.09839, allocations: 1.466 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.09858, allocations: 35.84 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.09864, allocations: 0 / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.09867, allocations: 3.984 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.0987, allocations: 11.88 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09893, allocations: 19.92 kB / 419.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.09903, allocations: 35.92 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.09911, allocations: 15.97 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.09916, allocations: 15.92 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.09921, allocations: 27.92 kB / 419.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.09922, allocations: 0 / 419.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.09924, allocations: 4 kB / 419.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.09926, allocations: 8 kB / 419.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.0993, allocations: 19.86 kB / 419.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.09939, allocations: 35.81 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.09939, allocations: 4 kB / 419.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0994, allocations: 0 / 419.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.0994, allocations: 0 / 419.5 MB, free: 10.85 MB / 350.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.0005193/0.09992, allocations: 355.4 kB / 419.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.09996, allocations: 12.03 kB / 419.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.09999, allocations: 30.75 kB / 419.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.1, allocations: 8.922 kB / 419.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1003, allocations: 184.2 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1003, allocations: 4.375 kB / 420.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.1003, allocations: 4.312 kB / 420.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.1008, allocations: 163.8 kB / 420.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1008, allocations: 3.938 kB / 420.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1008, allocations: 0 / 420.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1009, allocations: 7.938 kB / 420.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.1011, allocations: 47.88 kB / 420.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1012, allocations: 161.7 kB / 420.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1015, allocations: 82.5 kB / 420.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1017, allocations: 44.89 kB / 420.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1017, allocations: 0 / 420.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1017, allocations: 30.56 kB / 420.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1017, allocations: 0 / 420.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004632/0.1022, allocations: 129.4 kB / 420.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1022, allocations: 51.41 kB / 420.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.1023, allocations: 109.8 kB / 420.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1024, allocations: 29.7 kB / 420.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.1024, allocations: 88.14 kB / 421 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.1024, allocations: 0 / 421 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1025, allocations: 17.72 kB / 421 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1026, allocations: 314.8 kB / 421.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1026, allocations: 8 kB / 421.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.1026, allocations: 27.44 kB / 421.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.1027, allocations: 35.38 kB / 421.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1027, allocations: 4 kB / 421.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.43e-05/0.1028, allocations: 65.52 kB / 421.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1028, allocations: 11.94 kB / 421.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1028, allocations: 128 / 421.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1028, allocations: 7.938 kB / 421.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.1029, allocations: 11.98 kB / 421.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1029, allocations: 0 / 421.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.1029, allocations: 4.125 kB / 421.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1029, allocations: 4 kB / 421.5 MB, free: 8.57 MB / 350.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.258e-05/0.103, allocations: 113.8 kB / 421.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.1033, allocations: 93.5 kB / 421.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1033, allocations: 11.91 kB / 421.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1033, allocations: 4 kB / 421.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1033, allocations: 0 / 421.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1033, allocations: 0 / 421.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1034, allocations: 161.6 kB / 421.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1034, allocations: 0 / 421.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.355e-05/0.1035, allocations: 15.98 kB / 421.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1035, allocations: 3.938 kB / 421.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1035, allocations: 3.984 kB / 421.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1035, allocations: 0 / 421.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1035, allocations: 0 / 421.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1038, allocations: 113.1 kB / 422 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1039, allocations: 88.98 kB / 422.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1039, allocations: 11.88 kB / 422.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.104, allocations: 11.98 kB / 422.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.104, allocations: 0 / 422.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.104, allocations: 0 / 422.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.104, allocations: 83.28 kB / 422.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.104, allocations: 0 / 422.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.1042, allocations: 8 kB / 422.2 MB, free: 7.75 MB / 350.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.0007761/0.105, allocations: 0.6907 MB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1052, allocations: 39.91 kB / 422.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1052, allocations: 4 kB / 422.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1052, allocations: 320 / 422.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1055, allocations: 51.97 kB / 423 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1066, allocations: 1.193 MB / 424.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1069, allocations: 0.6844 MB / 424.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.107, allocations: 8 kB / 424.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.107, allocations: 11.44 kB / 424.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.107, allocations: 0 / 424.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.1542, allocations: 1.512 MB / 426.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.049, allocations: 4.688 kB / 426.4 MB, free: 3.52 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.547528042457998]