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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 105.6 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.91 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3927, allocations: 49.44 MB / 400.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002714/0.3955, allocations: 1.454 MB / 401.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002076/0.3957, allocations: 34.88 kB / 401.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.3958, allocations: 1.156 kB / 401.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.3958, allocations: 3.938 kB / 401.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3959, allocations: 11.92 kB / 401.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3961, allocations: 23.84 kB / 401.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.3962, allocations: 34.86 kB / 401.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.3963, allocations: 12.33 kB / 401.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.3964, allocations: 21.14 kB / 401.8 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.3964, allocations: 21.16 kB / 401.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3965, allocations: 3.656 kB / 401.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.3965, allocations: 4.125 kB / 401.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3965, allocations: 9.125 kB / 401.9 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3966, allocations: 19.23 kB / 401.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.3966, allocations: 47.56 kB / 401.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3967, allocations: 0 / 401.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3967, allocations: 1.5 kB / 401.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3967, allocations: 0 / 401.9 MB, free: 6.945 MB / 318.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.0005038/0.3972, allocations: 352.4 kB / 402.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3972, allocations: 10.22 kB / 402.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.3973, allocations: 31.91 kB / 402.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.3973, allocations: 9.938 kB / 402.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3975, allocations: 188.2 kB / 402.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3975, allocations: 384 / 402.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.3975, allocations: 4.375 kB / 402.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.3981, allocations: 151.8 kB / 402.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3981, allocations: 3.938 kB / 402.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3981, allocations: 4 kB / 402.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3982, allocations: 0 / 402.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.3984, allocations: 51.88 kB / 402.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.3986, allocations: 165.7 kB / 402.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.3989, allocations: 78.5 kB / 403 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3991, allocations: 44.89 kB / 403 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3991, allocations: 0 / 403 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3992, allocations: 30.56 kB / 403 MB, free: 5.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3992, allocations: 0 / 403 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005386/0.3997, allocations: 129.4 kB / 403.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.3998, allocations: 59.34 kB / 403.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.3999, allocations: 113.8 kB / 403.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3999, allocations: 25.7 kB / 403.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.4, allocations: 84.14 kB / 403.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4, allocations: 0 / 403.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.4, allocations: 17.72 kB / 403.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4002, allocations: 322.8 kB / 403.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.4002, allocations: 0 / 403.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.4003, allocations: 31.44 kB / 403.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.4003, allocations: 39.38 kB / 403.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4003, allocations: 0 / 403.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.425e-05/0.4004, allocations: 65.47 kB / 403.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4004, allocations: 11.94 kB / 403.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4005, allocations: 3.938 kB / 403.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4005, allocations: 0 / 403.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.4006, allocations: 16.11 kB / 403.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4006, allocations: 4 kB / 403.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.4006, allocations: 0 / 403.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.4006, allocations: 8.125 kB / 404 MB, free: 4.699 MB / 318.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.686e-05/0.4007, allocations: 109.8 kB / 404.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.401, allocations: 89.52 kB / 404.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.4011, allocations: 15.89 kB / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4011, allocations: 0 / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4011, allocations: 0 / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4011, allocations: 0 / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.4013, allocations: 161.6 kB / 404.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4013, allocations: 0 / 404.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4014, allocations: 15.98 kB / 404.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4014, allocations: 7.938 kB / 404.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4014, allocations: 0 / 404.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4014, allocations: 3.984 kB / 404.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4014, allocations: 3.938 kB / 404.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.4018, allocations: 113 kB / 404.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4019, allocations: 81.09 kB / 404.5 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4019, allocations: 7.938 kB / 404.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.402, allocations: 11.98 kB / 404.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-06/0.402, allocations: 0 / 404.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.402, allocations: 4 kB / 404.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.4021, allocations: 83.28 kB / 404.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4021, allocations: 0 / 404.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.4023, allocations: 8 kB / 404.7 MB, free: 3.887 MB / 318.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.0009216/0.4032, allocations: 0.6984 MB / 405.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.4034, allocations: 39.91 kB / 405.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4035, allocations: 0 / 405.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.4035, allocations: 0 / 405.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.4039, allocations: 43.03 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.405, allocations: 1.205 MB / 406.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4052, allocations: 0.6844 MB / 407.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.4053, allocations: 3.938 kB / 407.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.4053, allocations: 15.44 kB / 407.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4053, allocations: 0 / 407.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4244, allocations: 1.514 MB / 408.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.15, allocations: 4.625 kB / 408.9 MB, free: 15.65 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches