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.001851/0.001851, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002573/0.002573, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001968/0.001968, allocations: 67.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 53.4 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002819/0.3234, allocations: 1.498 MB / 432.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007783/0.3242, allocations: 415 kB / 433 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.3242, allocations: 4 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.3243, allocations: 3.938 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.3243, allocations: 3.938 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3246, allocations: 35.89 kB / 433.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.3247, allocations: 35.86 kB / 433.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.3248, allocations: 8 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.3248, allocations: 15.92 kB / 433.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.3249, allocations: 23.84 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3249, allocations: 4 kB / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3249, allocations: 4 kB / 433.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3249, allocations: 4 kB / 433.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3249, allocations: 11.94 kB / 433.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.325, allocations: 41.45 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3251, allocations: 0 / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3251, allocations: 0 / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3251, allocations: 0 / 433.2 MB, free: 4.387 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.0004523/0.3255, allocations: 278.3 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3256, allocations: 11.98 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.3256, allocations: 34.75 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.3256, allocations: 4.891 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3258, allocations: 130.5 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3258, allocations: 4.312 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3259, allocations: 4.375 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.3263, allocations: 143.3 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3263, allocations: 0 / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3263, allocations: 4 kB / 433.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3263, allocations: 4 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3265, allocations: 35.95 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.3266, allocations: 124.8 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3269, allocations: 82.47 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.327, allocations: 32.89 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.327, allocations: 4 kB / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.327, allocations: 34.5 kB / 434.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.327, allocations: 0 / 434.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003381/0.3274, allocations: 97.62 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3274, allocations: 51.41 kB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3275, allocations: 109.8 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3275, allocations: 25.7 kB / 434.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.3276, allocations: 92.14 kB / 434.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.3276, allocations: 0 / 434.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3276, allocations: 17.72 kB / 434.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3278, allocations: 314.8 kB / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.3278, allocations: 4 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.3278, allocations: 27.44 kB / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.3278, allocations: 35.38 kB / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3278, allocations: 4 kB / 434.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.675e-05/0.3279, allocations: 65.45 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3279, allocations: 4 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.328, allocations: 4 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.328, allocations: 0 / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.328, allocations: 7.984 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.328, allocations: 8.25 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.3281, allocations: 3.938 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3281, allocations: 4 kB / 435 MB, free: 2.395 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 8.621e-05/0.3281, allocations: 114 kB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.3283, allocations: 81.55 kB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.3284, allocations: 4 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3284, allocations: 4 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3284, allocations: 0 / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3284, allocations: 336 / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3285, allocations: 124.8 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3285, allocations: 0 / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.3286, allocations: 23.86 kB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3286, allocations: 3.938 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3286, allocations: 8 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3286, allocations: 0 / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3286, allocations: 3.984 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.3288, allocations: 101.1 kB / 435.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.3289, allocations: 11.89 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3289, allocations: 0 / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.3289, allocations: 7.984 kB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.3289, allocations: 4 kB / 435.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3289, allocations: 0 / 435.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.329, allocations: 91.27 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.3292, allocations: 4 kB / 435.6 MB, free: 1.734 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.0005505/0.3297, allocations: 0.6358 MB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3299, allocations: 43.97 kB / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3299, allocations: 0 / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3299, allocations: 0 / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3302, allocations: 28.02 kB / 436.3 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3312, allocations: 1.166 MB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.3313, allocations: 71.33 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.3313, allocations: 12.12 kB / 437.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3313, allocations: 7.438 kB / 437.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3313, allocations: 0 / 437.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.3593, allocations: 1.886 MB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.03, allocations: 3.984 kB / 439.4 MB, free: 13.85 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.58706289762631]