Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001411/0.001411, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00156/0.00156, allocations: 216.3 kB / 24.53 MB, free: 4.012 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 53.4 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003568/0.3282, allocations: 1.499 MB / 433.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.3291, allocations: 454.8 kB / 433.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.3292, allocations: 4 kB / 433.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.3292, allocations: 7.922 kB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.3293, allocations: 7.922 kB / 433.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3295, allocations: 23.92 kB / 434 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3296, allocations: 39.86 kB / 434 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3298, allocations: 15.97 kB / 434 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.3298, allocations: 15.94 kB / 434 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.3299, allocations: 19.86 kB / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3299, allocations: 4 kB / 434.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.3299, allocations: 0 / 434.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.33, allocations: 8 kB / 434.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.33, allocations: 19.86 kB / 434.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3301, allocations: 32.88 kB / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3301, allocations: 0 / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3301, allocations: 0 / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3302, allocations: 4 kB / 434.1 MB, free: 4.539 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.0005007/0.3307, allocations: 277.6 kB / 434.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3307, allocations: 12.03 kB / 434.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.377e-05/0.3307, allocations: 4.188 kB / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.3308, allocations: 30.75 kB / 434.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.3308, allocations: 8.891 kB / 434.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3311, allocations: 122.5 kB / 434.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3311, allocations: 4.375 kB / 434.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3312, allocations: 4.375 kB / 434.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.3317, allocations: 139.1 kB / 434.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3317, allocations: 0 / 434.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3317, allocations: 4 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3317, allocations: 0 / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3319, allocations: 35.95 kB / 434.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.3321, allocations: 132.7 kB / 434.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3325, allocations: 82.45 kB / 435 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3326, allocations: 32.92 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.3326, allocations: 3.938 kB / 435 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.3327, allocations: 30.56 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3327, allocations: 0 / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004316/0.3331, allocations: 105.6 kB / 435.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.3332, allocations: 59.28 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3333, allocations: 109.8 kB / 435.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3334, allocations: 25.7 kB / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.3334, allocations: 84.14 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3335, allocations: 0 / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3335, allocations: 21.66 kB / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.3337, allocations: 314.8 kB / 435.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.3337, allocations: 8 kB / 435.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.3338, allocations: 27.44 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.3339, allocations: 35.36 kB / 435.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3339, allocations: 8 kB / 435.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.334, allocations: 57.53 kB / 435.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.334, allocations: 4 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.334, allocations: 0 / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.334, allocations: 4 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.3341, allocations: 11.92 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3341, allocations: 0 / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.3342, allocations: 7.938 kB / 435.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3342, allocations: 4.125 kB / 435.9 MB, free: 2.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001305/0.3343, allocations: 113.8 kB / 436 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.3345, allocations: 77.59 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.3346, allocations: 4 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3346, allocations: 0 / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3346, allocations: 0 / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3346, allocations: 0 / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3348, allocations: 140.7 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3348, allocations: 7.938 kB / 436.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.3348, allocations: 15.92 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3348, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3349, allocations: 4 kB / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3349, allocations: 0 / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3349, allocations: 0 / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3351, allocations: 105.1 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.3351, allocations: 11.89 kB / 436.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3352, allocations: 0 / 436.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.3352, allocations: 7.984 kB / 436.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-06/0.3352, allocations: 3.938 kB / 436.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3352, allocations: 4 kB / 436.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.3353, allocations: 87.27 kB / 436.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 0 / 436.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.3355, allocations: 4 kB / 436.5 MB, free: 1.887 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0006381/0.3361, allocations: 0.6397 MB / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3363, allocations: 35.91 kB / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3363, allocations: 256 / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.3363, allocations: 4 kB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3367, allocations: 41.78 kB / 437.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3378, allocations: 1.177 MB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3382, allocations: 0.6846 MB / 439 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.3382, allocations: 3.938 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.3382, allocations: 11.44 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3382, allocations: 4 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3597, allocations: 1.505 MB / 440.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.13, allocations: 4.062 kB / 440.6 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.77768153900979]