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.001627/0.001627, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001961/0.001961, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 8.012 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 43.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2425, allocations: 53.35 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003095/0.2456, allocations: 1.654 MB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2468, allocations: 0.6388 MB / 434.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.2469, allocations: 4 kB / 434.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.958e-05/0.2469, allocations: 7.875 kB / 434.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.2472, allocations: 35.78 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2475, allocations: 79.66 kB / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.2476, allocations: 75.78 kB / 434.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2477, allocations: 11.98 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2479, allocations: 47.78 kB / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.248, allocations: 31.84 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.248, allocations: 8 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/0.248, allocations: 8 kB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.2481, allocations: 23.91 kB / 434.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.2481, allocations: 39.73 kB / 434.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2483, allocations: 88.36 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2483, allocations: 4 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2483, allocations: 0 / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2483, allocations: 0 / 434.7 MB, free: 4.074 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.000651/0.249, allocations: 333.9 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.249, allocations: 12.03 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.723e-05/0.249, allocations: 8.125 kB / 435 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.2491, allocations: 42.73 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2492, allocations: 20.84 kB / 435.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2495, allocations: 146.9 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.2495, allocations: 16.12 kB / 435.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2495, allocations: 7.938 kB / 435.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.25, allocations: 225.7 kB / 435.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.25, allocations: 0 / 435.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2501, allocations: 4 kB / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2501, allocations: 0 / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.2502, allocations: 47.97 kB / 435.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.2506, allocations: 269.5 kB / 435.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2508, allocations: 95.89 kB / 435.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2509, allocations: 54.59 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2509, allocations: 4 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2509, allocations: 38.56 kB / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.2509, allocations: 0 / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.00041/0.2513, allocations: 145.9 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.2514, allocations: 114.9 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2515, allocations: 155.4 kB / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2516, allocations: 29.83 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.2516, allocations: 100.1 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.2517, allocations: 15.89 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.2517, allocations: 25.72 kB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2518, allocations: 322.8 kB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.2519, allocations: 15.98 kB / 436.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.252, allocations: 93.38 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.2521, allocations: 121.3 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2522, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002254/0.2524, allocations: 137.4 kB / 437.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2524, allocations: 8 kB / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2524, allocations: 0 / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2524, allocations: 4 kB / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2525, allocations: 28.27 kB / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2525, allocations: 15.88 kB / 437.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.2526, allocations: 7.953 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2526, allocations: 4 kB / 437.3 MB, free: 1.148 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.0001081/0.2527, allocations: 133.8 kB / 437.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.2529, allocations: 97.56 kB / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.2529, allocations: 12.41 kB / 437.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2529, allocations: 0 / 437.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2529, allocations: 7.938 kB / 437.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.253, allocations: 3.984 kB / 437.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2531, allocations: 156.7 kB / 437.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2531, allocations: 4 kB / 437.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.2533, allocations: 23.92 kB / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2533, allocations: 0 / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2533, allocations: 11.92 kB / 437.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2533, allocations: 4 kB / 437.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2533, allocations: 3.938 kB / 437.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.2536, allocations: 229.2 kB / 438 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.2536, allocations: 27.86 kB / 438 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2536, allocations: 0 / 438 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.2537, allocations: 4 kB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2538, allocations: 3.938 kB / 438 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2538, allocations: 11.98 kB / 438 MB, free: 352 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.2539, allocations: 112.9 kB / 438.1 MB, free: 240 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 4 kB / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2541, allocations: 19.95 kB / 438.1 MB, free: 216 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.0007074/0.2548, allocations: 0.7922 MB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.255, allocations: 83.81 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.255, allocations: 3.938 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.2551, allocations: 12 kB / 439 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.2555, allocations: 61.3 kB / 439.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.2573, allocations: 1.68 MB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2577, allocations: 0.7041 MB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.2577, allocations: 16.56 kB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.2578, allocations: 27.44 kB / 441.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2578, allocations: 0 / 441.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2802, allocations: 2.483 MB / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.76, allocations: 8.062 kB / 444 MB, free: 10.29 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] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(superSampleIpo.first),previous(superSampleIpo.ticks),previous(superSampleIpo.uu),sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSampleIpo.factor,superSampleIpo.first,superSampleIpo.inferFactor,superSampleIpo.ticks,superSampleIpo.u,superSampleIpo.uu,superSampleIpo.y,time [Calling sys.exit(0), Time elapsed: 13.199686185980681]