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.001467/0.001467, allocations: 111 kB / 16.51 MB, free: 6.707 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.001735/0.001735, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.545/1.545, allocations: 222.9 MB / 241.1 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009291/0.000929, allocations: 46.77 kB / 300.1 MB, free: 5.945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1324, allocations: 49.44 MB / 349.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003269/0.1357, allocations: 1.515 MB / 351 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.1359, allocations: 39.84 kB / 351.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.136, allocations: 0 / 351.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.136, allocations: 3.938 kB / 351.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1361, allocations: 4 kB / 351.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1363, allocations: 18.61 kB / 351.1 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.1363, allocations: 39.84 kB / 351.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.1364, allocations: 11.98 kB / 351.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.1364, allocations: 15.94 kB / 351.2 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1365, allocations: 19.91 kB / 351.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1365, allocations: 4 kB / 351.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.1365, allocations: 4 kB / 351.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1365, allocations: 0 / 351.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1366, allocations: 19.86 kB / 351.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.419e-05/0.1366, allocations: 39.88 kB / 351.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1367, allocations: 0 / 351.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1367, allocations: 0 / 351.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1367, allocations: 0 / 351.2 MB, free: 2.75 MB / 286.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.0004303/0.1371, allocations: 359.6 kB / 351.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1371, allocations: 16.03 kB / 351.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.1372, allocations: 34.69 kB / 351.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.1372, allocations: 4.938 kB / 351.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1374, allocations: 184.2 kB / 351.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1374, allocations: 384 / 351.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1374, allocations: 8.375 kB / 351.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.138, allocations: 159.7 kB / 352 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.138, allocations: 11.94 kB / 352 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.138, allocations: 0 / 352 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.138, allocations: 0 / 352 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.1383, allocations: 47.94 kB / 352.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.1384, allocations: 161.6 kB / 352.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.1387, allocations: 86.5 kB / 352.3 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1389, allocations: 36.84 kB / 352.3 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1389, allocations: 8 kB / 352.3 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1389, allocations: 34.56 kB / 352.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.1389, allocations: 3.984 kB / 352.4 MB, free: 1.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004618/0.1394, allocations: 113.5 kB / 352.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1395, allocations: 55.39 kB / 352.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.1395, allocations: 101.9 kB / 352.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1396, allocations: 25.7 kB / 352.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1396, allocations: 92.12 kB / 352.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.1396, allocations: 7.906 kB / 352.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1397, allocations: 17.72 kB / 352.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1398, allocations: 318.8 kB / 353.1 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.1398, allocations: 7.984 kB / 353.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.1399, allocations: 27.44 kB / 353.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.1399, allocations: 39.38 kB / 353.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1399, allocations: 0 / 353.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.403e-05/0.14, allocations: 57.75 kB / 353.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1401, allocations: 7.938 kB / 353.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1401, allocations: 8 kB / 353.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.1401, allocations: 128 / 353.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1402, allocations: 15.98 kB / 353.3 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1402, allocations: 0 / 353.3 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.1402, allocations: 8 kB / 353.3 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.1402, allocations: 3.938 kB / 353.3 MB, free: 476 kB / 286.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.499e-05/0.1403, allocations: 109.8 kB / 353.4 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.1406, allocations: 93.48 kB / 353.5 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.1406, allocations: 7.891 kB / 353.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1407, allocations: 4 kB / 353.5 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1407, allocations: 3.938 kB / 353.5 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1407, allocations: 4 kB / 353.5 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.1408, allocations: 157.7 kB / 353.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1408, allocations: 0 / 353.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1409, allocations: 19.92 kB / 353.7 MB, free: 0 / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1409, allocations: 7.984 kB / 353.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.141, allocations: 0 / 353.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.141, allocations: 0 / 353.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.141, allocations: 3.938 kB / 353.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1413, allocations: 113 kB / 353.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1413, allocations: 84.95 kB / 353.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1414, allocations: 11.92 kB / 353.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1414, allocations: 8 kB / 353.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.1415, allocations: 0 / 353.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1415, allocations: 3.984 kB / 353.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.1415, allocations: 83.28 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 0 / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.1417, allocations: 8 kB / 354 MB, free: 15.64 MB / 302.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.0008518/0.1426, allocations: 0.6865 MB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1428, allocations: 48.22 kB / 354.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1428, allocations: 0 / 354.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.1428, allocations: 0 / 354.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1432, allocations: 43.27 kB / 354.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1444, allocations: 1.202 MB / 356 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1447, allocations: 0.6848 MB / 356.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1447, allocations: 4 kB / 356.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1448, allocations: 15.42 kB / 356.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1448, allocations: 0 / 356.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1644, allocations: 1.338 MB / 358 MB, free: 11.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.1648, allocations: 211.2 kB / 358.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.072, allocations: 0 / 358.2 MB, free: 11.34 MB / 302.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