Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 214.9 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2591, allocations: 53.4 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002904/0.262, allocations: 1.639 MB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2631, allocations: 0.6388 MB / 433.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.2632, allocations: 7.938 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.267e-05/0.2633, allocations: 7.875 kB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.2636, allocations: 39.72 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.2639, allocations: 79.72 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2641, allocations: 75.78 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2642, allocations: 15.97 kB / 433.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2643, allocations: 35.86 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.2644, allocations: 43.77 kB / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2644, allocations: 4 kB / 433.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.2645, allocations: 12 kB / 433.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.2645, allocations: 19.92 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.2646, allocations: 39.73 kB / 433.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2648, allocations: 91.98 kB / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2648, allocations: 0 / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2648, allocations: 0 / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.2648, allocations: 3.938 kB / 433.9 MB, free: 3.945 MB / 334.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.000623/0.2654, allocations: 329.9 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2655, allocations: 8.031 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.2655, allocations: 46.75 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.2656, allocations: 28.77 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.2659, allocations: 150.3 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.2659, allocations: 12.38 kB / 434.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2659, allocations: 7.938 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.2664, allocations: 227 kB / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2664, allocations: 0 / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2664, allocations: 4 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2665, allocations: 3.984 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2666, allocations: 51.91 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.267, allocations: 269.5 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2672, allocations: 99.89 kB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2673, allocations: 50.61 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2673, allocations: 0 / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2673, allocations: 38.56 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.2673, allocations: 0 / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004049/0.2677, allocations: 149.5 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2678, allocations: 110.8 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.268, allocations: 153.7 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.268, allocations: 25.7 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.2681, allocations: 96.14 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2681, allocations: 11.91 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.2681, allocations: 29.7 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2683, allocations: 323 kB / 436.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.2683, allocations: 19.98 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2684, allocations: 96.94 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2686, allocations: 121.3 kB / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2686, allocations: 0 / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002287/0.2688, allocations: 137.6 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2689, allocations: 8 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2689, allocations: 3.984 kB / 436.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2689, allocations: 4 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.269, allocations: 20 kB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.269, allocations: 11.92 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.2691, allocations: 11.89 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2691, allocations: 4.5 kB / 436.5 MB, free: 1.031 MB / 334.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.0001297/0.2692, allocations: 137.8 kB / 436.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.2694, allocations: 105.5 kB / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.2695, allocations: 12.41 kB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2695, allocations: 0 / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2695, allocations: 4 kB / 436.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2695, allocations: 3.938 kB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.2697, allocations: 156.7 kB / 437 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2697, allocations: 4 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2698, allocations: 19.98 kB / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2698, allocations: 0 / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2698, allocations: 7.984 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2698, allocations: 11.94 kB / 437 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2698, allocations: 0 / 437 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.2702, allocations: 221.1 kB / 437.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.2702, allocations: 19.88 kB / 437.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.2702, allocations: 11.92 kB / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.2703, allocations: 8 kB / 437.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2704, allocations: 7.922 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2704, allocations: 8 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.2705, allocations: 114.2 kB / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2705, allocations: 0 / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.2707, allocations: 19.95 kB / 437.4 MB, free: 96 kB / 334.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.0008322/0.2716, allocations: 0.8 MB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.2718, allocations: 72.47 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2718, allocations: 0 / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.2718, allocations: 27.86 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.2723, allocations: 63.17 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.2746, allocations: 1.669 MB / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.275, allocations: 0.7118 MB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.175e-05/0.2751, allocations: 8.5 kB / 440.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.2751, allocations: 27.42 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2751, allocations: 0 / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3046, allocations: 2.443 MB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.99, allocations: 12.53 kB / 443.2 MB, free: 10.16 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.38199521205388]