Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001184/0.001184, allocations: 89.78 kB / 16.65 MB, free: 6.535 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.001395/0.001395, allocations: 173.5 kB / 17.56 MB, free: 6.184 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.639/1.639, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.000416, allocations: 4 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 50.41 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002504/0.142, allocations: 1.323 MB / 353.3 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1432, allocations: 0.4949 MB / 353.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1434, allocations: 4 kB / 353.8 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.348e-05/0.1435, allocations: 7.922 kB / 353.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1437, allocations: 11.92 kB / 353.8 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1441, allocations: 55.2 kB / 353.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1442, allocations: 51.8 kB / 353.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1443, allocations: 19.98 kB / 353.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.1444, allocations: 23.8 kB / 353.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.1445, allocations: 23.86 kB / 354 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1445, allocations: 4 kB / 354 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.1446, allocations: 0 / 354 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.1447, allocations: 19.92 kB / 354 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1447, allocations: 61.38 kB / 354 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1449, allocations: 59.72 kB / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1449, allocations: 0 / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1449, allocations: 0 / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1449, allocations: 0 / 354.1 MB, free: 1.441 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006016/0.1455, allocations: 375.5 kB / 354.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.1456, allocations: 12.03 kB / 354.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.1456, allocations: 34.75 kB / 354.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1457, allocations: 16.75 kB / 354.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.146, allocations: 212 kB / 354.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.146, allocations: 384 / 354.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.146, allocations: 4.375 kB / 354.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.1464, allocations: 138.9 kB / 354.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1464, allocations: 0 / 354.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1464, allocations: 7.984 kB / 354.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1464, allocations: 0 / 354.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1466, allocations: 31.92 kB / 354.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.147, allocations: 287.4 kB / 355.2 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1472, allocations: 98.42 kB / 355.3 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1474, allocations: 47.48 kB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.1474, allocations: 7.984 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.1475, allocations: 34.5 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.1475, allocations: 4 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004113/0.1479, allocations: 101.5 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1481, allocations: 140.9 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1483, allocations: 154.5 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1483, allocations: 25.7 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.1484, allocations: 100 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1484, allocations: 0 / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1485, allocations: 9.719 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1487, allocations: 326.8 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.1488, allocations: 15.98 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.1489, allocations: 53.14 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.149, allocations: 69.02 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1491, allocations: 0 / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002247/0.1493, allocations: 93.61 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1493, allocations: 11.97 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1493, allocations: 4 kB / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1494, allocations: 0 / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1495, allocations: 15.94 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1495, allocations: 3.984 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.1496, allocations: 4 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1496, allocations: 4.125 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001479/0.1498, allocations: 129.7 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1499, allocations: 73.53 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.15, allocations: 15.86 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.15, allocations: 0 / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.15, allocations: 4 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.15, allocations: 0 / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1503, allocations: 181.6 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.1503, allocations: 0 / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.1504, allocations: 12 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.1504, allocations: 4.094 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1504, allocations: 7.984 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1505, allocations: 3.984 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1505, allocations: 4 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1508, allocations: 205.8 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.1509, allocations: 93 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1509, allocations: 4 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.151, allocations: 4 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.1511, allocations: 7.984 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1511, allocations: 0 / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1512, allocations: 113.5 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1515, allocations: 16 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0008194/0.1523, allocations: 0.7343 MB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1525, allocations: 43.92 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1525, allocations: 0 / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.1526, allocations: 15.92 kB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.1532, allocations: 40.47 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1552, allocations: 1.528 MB / 359.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1555, allocations: 0.7005 MB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1556, allocations: 8.656 kB / 360.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1557, allocations: 19.44 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1557, allocations: 0 / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.1698, allocations: 1.768 MB / 362.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.1701, allocations: 222 kB / 362.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.122, allocations: 0 / 362.4 MB, free: 8.566 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches