Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001877/0.001884, allocations: 105 kB / 16.92 MB, free: 5.762 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.001831/0.001832, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.562/1.562, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 47.58 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003815/0.1346, allocations: 1.608 MB / 351.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1359, allocations: 0.5662 MB / 352.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1361, allocations: 4 kB / 352.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.353e-05/0.1362, allocations: 7.875 kB / 352.3 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1365, allocations: 35.78 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1369, allocations: 70.8 kB / 352.4 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1371, allocations: 71.84 kB / 352.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1373, allocations: 20.2 kB / 352.5 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1374, allocations: 31.86 kB / 352.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.1375, allocations: 35.83 kB / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1375, allocations: 8 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.1375, allocations: 11.94 kB / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.1376, allocations: 19.92 kB / 352.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.1377, allocations: 31.81 kB / 352.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1379, allocations: 79.64 kB / 352.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1379, allocations: 0 / 352.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1379, allocations: 0 / 352.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1379, allocations: 0 / 352.8 MB, free: 1.715 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007368/0.1387, allocations: 411.3 kB / 353.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1387, allocations: 8.031 kB / 353.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1388, allocations: 50.67 kB / 353.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1388, allocations: 12.75 kB / 353.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1391, allocations: 204 kB / 353.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1391, allocations: 8.375 kB / 353.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1392, allocations: 4.375 kB / 353.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.1397, allocations: 225.8 kB / 353.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1397, allocations: 0 / 353.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1397, allocations: 3.938 kB / 353.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1398, allocations: 3.938 kB / 353.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1399, allocations: 51.95 kB / 353.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1404, allocations: 294.5 kB / 354 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1406, allocations: 99.77 kB / 354.1 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1407, allocations: 62.75 kB / 354.2 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1408, allocations: 3.984 kB / 354.2 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1408, allocations: 30.56 kB / 354.2 MB, free: 56 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1408, allocations: 4 kB / 354.2 MB, free: 52 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004822/0.1413, allocations: 149.3 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1414, allocations: 114.9 kB / 354.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1416, allocations: 140.6 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1416, allocations: 33.7 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.1417, allocations: 88.08 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1417, allocations: 15.89 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1418, allocations: 33.61 kB / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1419, allocations: 322.8 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.142, allocations: 23.98 kB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.1421, allocations: 89.36 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1423, allocations: 113.3 kB / 355.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1423, allocations: 0 / 355.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002616/0.1425, allocations: 133.7 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1426, allocations: 12 kB / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1426, allocations: 0 / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1426, allocations: 4 kB / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1427, allocations: 23.98 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1428, allocations: 7.938 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.1428, allocations: 11.94 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1429, allocations: 11.98 kB / 355.5 MB, free: 14.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001157/0.143, allocations: 129.8 kB / 355.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.1432, allocations: 93.52 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1433, allocations: 24.3 kB / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1433, allocations: 0 / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1433, allocations: 4.625 kB / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1433, allocations: 0 / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1435, allocations: 201.4 kB / 355.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1435, allocations: 0 / 355.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1437, allocations: 31.92 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1437, allocations: 0 / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1437, allocations: 0 / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1437, allocations: 4 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1437, allocations: 0 / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.144, allocations: 225.1 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.1441, allocations: 104.9 kB / 356.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1442, allocations: 4 kB / 356.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.1443, allocations: 11.98 kB / 356.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1443, allocations: 4 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1443, allocations: 4 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.1444, allocations: 111.2 kB / 356.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1444, allocations: 0 / 356.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1447, allocations: 16 kB / 356.4 MB, free: 13.55 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008442/0.1455, allocations: 0.8081 MB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.1458, allocations: 95.75 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1458, allocations: 0 / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.1459, allocations: 8.672 kB / 357.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1464, allocations: 56.02 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1485, allocations: 1.661 MB / 359.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1489, allocations: 0.7079 MB / 359.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.1489, allocations: 8.547 kB / 359.8 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.149, allocations: 31.42 kB / 359.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.149, allocations: 0 / 359.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1713, allocations: 2.181 MB / 362 MB, free: 7.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/8.612, allocations: 22.42 kB / 362 MB, free: 7.895 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches