Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.001079/0.001086, allocations: 91.91 kB / 16.65 MB, free: 6.59 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.001369/0.001369, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.655/1.655, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003609, allocations: 4 kB / 301.5 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 50.42 MB / 352 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002247/0.1439, allocations: 1.292 MB / 353.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.145, allocations: 494.8 kB / 353.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1452, allocations: 0 / 353.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.1452, allocations: 3.938 kB / 353.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1454, allocations: 19.91 kB / 353.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1458, allocations: 39.91 kB / 353.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.146, allocations: 51.78 kB / 353.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1462, allocations: 16.17 kB / 353.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1463, allocations: 15.92 kB / 353.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1464, allocations: 19.86 kB / 353.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1464, allocations: 4 kB / 353.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.1464, allocations: 4 kB / 353.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.1465, allocations: 11.94 kB / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.1466, allocations: 53.48 kB / 354 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1467, allocations: 43.81 kB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1468, allocations: 0 / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1468, allocations: 4 kB / 354 MB, free: 1.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1468, allocations: 0 / 354 MB, free: 1.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005639/0.1473, allocations: 367.4 kB / 354.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1474, allocations: 12.03 kB / 354.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.1475, allocations: 42.69 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1475, allocations: 12.83 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1478, allocations: 200.1 kB / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1478, allocations: 384 / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1478, allocations: 4.375 kB / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1481, allocations: 121.8 kB / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1482, allocations: 0 / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1482, allocations: 0 / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1482, allocations: 0 / 354.8 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-05/0.1483, allocations: 31.92 kB / 354.8 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1487, allocations: 278.5 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1489, allocations: 63.84 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.149, allocations: 38.58 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.149, allocations: 11.94 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.149, allocations: 30.56 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/0.149, allocations: 0 / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003234/0.1494, allocations: 93.69 kB / 355.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1494, allocations: 110.8 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1496, allocations: 140.8 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1496, allocations: 25.7 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.1497, allocations: 92.12 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1497, allocations: 15.78 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1498, allocations: 17.91 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.15, allocations: 322.8 kB / 356 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.15, allocations: 8 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.1501, allocations: 35.42 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1502, allocations: 55.36 kB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1502, allocations: 0 / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000176/0.1504, allocations: 73.61 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1504, allocations: 4 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1505, allocations: 4 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1505, allocations: 4 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1506, allocations: 8 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1506, allocations: 3.938 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1507, allocations: 15.89 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1507, allocations: 0 / 356.2 MB, free: 14.75 MB / 302.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.0001318/0.1508, allocations: 125.9 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1509, allocations: 53.53 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.151, allocations: 11.88 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.151, allocations: 0 / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.151, allocations: 4 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.151, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1513, allocations: 173.6 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1513, allocations: 4 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.1514, allocations: 8 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1514, allocations: 4.062 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1514, allocations: 0 / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.1514, allocations: 11.97 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1514, allocations: 0 / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1517, allocations: 185 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1518, allocations: 93 kB / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1518, allocations: 4 kB / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1519, allocations: 144 / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1519, allocations: 7.984 kB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.152, allocations: 4 kB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.1521, allocations: 113.8 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1521, allocations: 0 / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1523, allocations: 7.938 kB / 357 MB, free: 13.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0005636/0.1529, allocations: 0.7217 MB / 357.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.153, allocations: 35.97 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1531, allocations: 3.938 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.1531, allocations: 15.94 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1536, allocations: 24.02 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1553, allocations: 1.421 MB / 359.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1557, allocations: 0.6926 MB / 359.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.1557, allocations: 7.984 kB / 359.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.1558, allocations: 15.44 kB / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1558, allocations: 0 / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.1691, allocations: 1.423 MB / 361.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/0.1695, allocations: 218.7 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.169, allocations: 0 / 361.6 MB, free: 9.207 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches