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.001309/0.001309, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001529/0.001529, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.395/1.395, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.88 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2477, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002776/0.2505, allocations: 1.499 MB / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.2513, allocations: 458.8 kB / 433.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.2514, allocations: 0 / 433.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.2514, allocations: 7.938 kB / 433.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.2515, allocations: 3.938 kB / 433.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2517, allocations: 23.91 kB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.2518, allocations: 35.86 kB / 433.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.2519, allocations: 11.98 kB / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.252, allocations: 11.94 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.252, allocations: 23.92 kB / 433.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.252, allocations: 3.938 kB / 433.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.252, allocations: 4 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.2521, allocations: 11.97 kB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.2521, allocations: 15.88 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.2522, allocations: 39.2 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2522, allocations: 4 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2522, allocations: 0 / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2523, allocations: 0 / 433.3 MB, free: 4.527 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.0004601/0.2527, allocations: 275.3 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2528, allocations: 12.03 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2528, allocations: 30.75 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.2528, allocations: 12.88 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.253, allocations: 118.5 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.253, allocations: 4.359 kB / 433.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2531, allocations: 4.375 kB / 433.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.2535, allocations: 143.3 kB / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2535, allocations: 0 / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2535, allocations: 4 kB / 433.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2535, allocations: 3.984 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.2537, allocations: 31.97 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.2538, allocations: 136.7 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2541, allocations: 78.52 kB / 434.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.2542, allocations: 28.91 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2542, allocations: 7.938 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2542, allocations: 38.5 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.2542, allocations: 0 / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003597/0.2546, allocations: 93.77 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2547, allocations: 55.41 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.2547, allocations: 109.8 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.2548, allocations: 33.7 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.2548, allocations: 84.08 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.2548, allocations: 7.984 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.2549, allocations: 13.72 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.255, allocations: 314.8 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.255, allocations: 7.938 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.2551, allocations: 27.42 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.2551, allocations: 39.38 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2551, allocations: 0 / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.962e-05/0.2552, allocations: 61.52 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2552, allocations: 8.125 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2552, allocations: 4 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2552, allocations: 0 / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.2553, allocations: 11.94 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2553, allocations: 0 / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.2553, allocations: 3.938 kB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2553, allocations: 4 kB / 435.1 MB, free: 2.535 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 9.035e-05/0.2554, allocations: 113.8 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.2556, allocations: 81.59 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.2556, allocations: 11.98 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2557, allocations: 4 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2557, allocations: 0 / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2557, allocations: 0 / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2558, allocations: 132.7 kB / 435.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2558, allocations: 0 / 435.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.2558, allocations: 15.92 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2558, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2558, allocations: 4 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2558, allocations: 4 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2559, allocations: 0 / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.2561, allocations: 105 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.2561, allocations: 11.89 kB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2561, allocations: 0 / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.2562, allocations: 7.984 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.2562, allocations: 4 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2562, allocations: 0 / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.2562, allocations: 91.27 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2562, allocations: 3.938 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000188/0.2564, allocations: 4 kB / 435.7 MB, free: 1.867 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.0005378/0.2569, allocations: 0.6358 MB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.2571, allocations: 27.97 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2571, allocations: 4 kB / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.2571, allocations: 0 / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2574, allocations: 39.88 kB / 436.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2585, allocations: 1.17 MB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2588, allocations: 0.6807 MB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.2588, allocations: 0 / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.2589, allocations: 19.44 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2589, allocations: 0 / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2877, allocations: 1.477 MB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.95, allocations: 7.859 kB / 439.7 MB, free: 13.77 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.253955685999244]