Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 206.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 43.92 kB / 377.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002786/0.2461, allocations: 1.627 MB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2472, allocations: 0.5959 MB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.2473, allocations: 7.938 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.738e-05/0.2473, allocations: 3.938 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.2475, allocations: 31.78 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.2478, allocations: 79.78 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.248, allocations: 67.84 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.248, allocations: 15.97 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2482, allocations: 47.8 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.2483, allocations: 39.77 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2483, allocations: 4 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.929e-05/0.2483, allocations: 8 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.2484, allocations: 27.92 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.2484, allocations: 23.8 kB / 433.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2486, allocations: 91.98 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2486, allocations: 0 / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2486, allocations: 0 / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2486, allocations: 4 kB / 433.8 MB, free: 3.977 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.0005448/0.2491, allocations: 337.8 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2492, allocations: 12.03 kB / 434.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.2492, allocations: 34.75 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.2494, allocations: 28.83 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.2496, allocations: 146.9 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2496, allocations: 8.375 kB / 434.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2497, allocations: 7.938 kB / 434.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.2501, allocations: 224.6 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2501, allocations: 3.984 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2502, allocations: 0 / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2502, allocations: 4 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2503, allocations: 51.95 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.2507, allocations: 257.5 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.2509, allocations: 95.89 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.251, allocations: 54.61 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.251, allocations: 4 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.251, allocations: 38.56 kB / 435 MB, free: 2.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.251, allocations: 0 / 435 MB, free: 2.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004283/0.2515, allocations: 145.8 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.2516, allocations: 118.9 kB / 435.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2517, allocations: 156.9 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2517, allocations: 25.7 kB / 435.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2518, allocations: 92.27 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2518, allocations: 23.83 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.2519, allocations: 29.72 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.252, allocations: 318.8 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.2521, allocations: 19.98 kB / 435.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2522, allocations: 92.38 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2523, allocations: 125.3 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2523, allocations: 0 / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002204/0.2525, allocations: 133.4 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2526, allocations: 8 kB / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2526, allocations: 0 / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2526, allocations: 4 kB / 436.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2527, allocations: 27.98 kB / 436.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2527, allocations: 7.938 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.2528, allocations: 11.89 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.2528, allocations: 4 kB / 436.3 MB, free: 1.07 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.0001149/0.2529, allocations: 138 kB / 436.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2531, allocations: 93.56 kB / 436.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.2531, allocations: 16.41 kB / 436.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2531, allocations: 4 kB / 436.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2532, allocations: 0 / 436.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2532, allocations: 7.922 kB / 436.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2533, allocations: 152.7 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2533, allocations: 0 / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2535, allocations: 23.92 kB / 436.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2535, allocations: 3.938 kB / 436.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2535, allocations: 4 kB / 436.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2535, allocations: 4 kB / 436.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2535, allocations: 0 / 436.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.2538, allocations: 225.2 kB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.2538, allocations: 27.88 kB / 437 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2539, allocations: 4 kB / 437 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.254, allocations: 11.98 kB / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.254, allocations: 7.875 kB / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.254, allocations: 4 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2541, allocations: 107.2 kB / 437.2 MB, free: 172 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2541, allocations: 4 kB / 437.2 MB, free: 168 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.2544, allocations: 19.95 kB / 437.2 MB, free: 148 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.0007444/0.2551, allocations: 0.8076 MB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2553, allocations: 79.88 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2553, allocations: 0.6875 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.2554, allocations: 15.98 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.2558, allocations: 54.52 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.2578, allocations: 1.673 MB / 439.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.794e-05/0.2579, allocations: 96.19 kB / 439.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.2579, allocations: 8.484 kB / 439.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.258, allocations: 27.42 kB / 439.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.258, allocations: 3.938 kB / 439.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.2873, allocations: 2.889 MB / 442.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.77, allocations: 7.188 kB / 442.8 MB, free: 10.44 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.114405647007516]