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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.1 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 51.92 kB / 365.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002826/0.112, allocations: 1.617 MB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.113, allocations: 0.5765 MB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1131, allocations: 3.938 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.1132, allocations: 7.875 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.1134, allocations: 23.86 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1136, allocations: 67.8 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1138, allocations: 83.75 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.1139, allocations: 8.234 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.114, allocations: 43.78 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.114, allocations: 35.84 kB / 420.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1141, allocations: 8 kB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.1141, allocations: 8 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1141, allocations: 19.92 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.1142, allocations: 35.73 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1143, allocations: 83.62 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1143, allocations: 0 / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1143, allocations: 0 / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1143, allocations: 0 / 420.4 MB, free: 9.934 MB / 350.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.0006043/0.1149, allocations: 418.8 kB / 420.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.115, allocations: 16.03 kB / 420.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.115, allocations: 38.73 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1151, allocations: 12.89 kB / 420.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1153, allocations: 202.5 kB / 421.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1153, allocations: 4.375 kB / 421.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1154, allocations: 8.375 kB / 421.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.1158, allocations: 221.9 kB / 421.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1159, allocations: 0 / 421.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1159, allocations: 0 / 421.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1159, allocations: 4 kB / 421.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.116, allocations: 55.89 kB / 421.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1164, allocations: 294.5 kB / 421.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1166, allocations: 99.89 kB / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1167, allocations: 54.55 kB / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1167, allocations: 0 / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1167, allocations: 34.56 kB / 421.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1167, allocations: 3.938 kB / 421.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004122/0.1172, allocations: 145.5 kB / 422 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.1173, allocations: 122.7 kB / 422.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1174, allocations: 133.8 kB / 422.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1174, allocations: 33.7 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1175, allocations: 92.06 kB / 422.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1175, allocations: 11.95 kB / 422.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.1175, allocations: 33.66 kB / 422.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1177, allocations: 330.9 kB / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1177, allocations: 16 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.1178, allocations: 88.3 kB / 422.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.118, allocations: 121.2 kB / 422.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.118, allocations: 0 / 422.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002233/0.1182, allocations: 133.6 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1182, allocations: 8 kB / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1182, allocations: 0.5 kB / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1183, allocations: 4 kB / 423.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1184, allocations: 27.92 kB / 423.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1184, allocations: 4 kB / 423.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.1184, allocations: 15.98 kB / 423.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1185, allocations: 4 kB / 423.1 MB, free: 6.848 MB / 350.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.0001132/0.1186, allocations: 142.6 kB / 423.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1188, allocations: 97.52 kB / 423.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1188, allocations: 20.3 kB / 423.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1188, allocations: 0 / 423.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1188, allocations: 7.938 kB / 423.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1188, allocations: 0 / 423.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.119, allocations: 193.4 kB / 423.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.119, allocations: 0 / 423.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1191, allocations: 19.98 kB / 423.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1191, allocations: 4 kB / 423.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1191, allocations: 0 / 423.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.1191, allocations: 8 kB / 423.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1191, allocations: 0 / 423.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1194, allocations: 225 kB / 423.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.1195, allocations: 101 kB / 423.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1195, allocations: 4 kB / 423.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.1196, allocations: 15.98 kB / 424 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1197, allocations: 0 / 424 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1197, allocations: 4 kB / 424 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.1197, allocations: 109.1 kB / 424.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1197, allocations: 0 / 424.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.12, allocations: 16 kB / 424.1 MB, free: 5.797 MB / 350.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.0007463/0.1207, allocations: 0.8237 MB / 424.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.121, allocations: 75.84 kB / 425 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.121, allocations: 0.6875 kB / 425 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.121, allocations: 11.98 kB / 425 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1214, allocations: 64.45 kB / 425.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1233, allocations: 1.67 MB / 426.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1237, allocations: 0.7156 MB / 427.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.1237, allocations: 8.547 kB / 427.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.1238, allocations: 27.42 kB / 427.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1238, allocations: 192 / 427.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1486, allocations: 2.264 MB / 429.7 MB, free: 68 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/8.607, allocations: 6.797 kB / 429.7 MB, free: 64 kB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.1957e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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: 11.406256143003702]