Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001464/0.001464, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001617/0.001617, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.381/1.381, allocations: 230.6 MB / 258.3 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 51.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 53.36 MB / 431.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002957/0.2602, allocations: 1.581 MB / 433.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2612, allocations: 0.5337 MB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.2613, allocations: 0 / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.2613, allocations: 11.88 kB / 434 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.2614, allocations: 11.92 kB / 434 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2618, allocations: 63.75 kB / 434.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2619, allocations: 51.78 kB / 434.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.262, allocations: 18.28 kB / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2621, allocations: 23.92 kB / 434.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.2622, allocations: 19.86 kB / 434.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2622, allocations: 4 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.2622, allocations: 8 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.2623, allocations: 23.91 kB / 434.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.2623, allocations: 15.88 kB / 434.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2625, allocations: 67.61 kB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2625, allocations: 4 kB / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2625, allocations: 0 / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2625, allocations: 0 / 434.3 MB, free: 4.195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004606/0.2629, allocations: 309.9 kB / 434.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.263, allocations: 8.031 kB / 434.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.263, allocations: 4.125 kB / 434.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.263, allocations: 42.75 kB / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.2632, allocations: 20.88 kB / 434.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2635, allocations: 148.6 kB / 434.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2635, allocations: 3.938 kB / 434.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2635, allocations: 4 kB / 434.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2638, allocations: 121.8 kB / 435 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2638, allocations: 4 kB / 435 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.2638, allocations: 0 / 435 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2638, allocations: 0 / 435 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.2639, allocations: 19.98 kB / 435 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.2643, allocations: 245.6 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2644, allocations: 67.78 kB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.2644, allocations: 34.62 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2645, allocations: 0 / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2645, allocations: 42.56 kB / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2645, allocations: 0 / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002727/0.2648, allocations: 81.5 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.2649, allocations: 106.8 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.265, allocations: 157.1 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.265, allocations: 25.7 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.2651, allocations: 92.12 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2651, allocations: 4.375 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.2651, allocations: 25.61 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2653, allocations: 322.8 kB / 436.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.2653, allocations: 4 kB / 436.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.2654, allocations: 35.42 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.2655, allocations: 47.36 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2655, allocations: 0 / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.2656, allocations: 77.55 kB / 436.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2656, allocations: 4 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2656, allocations: 4 kB / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2657, allocations: 0 / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.2657, allocations: 8 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2658, allocations: 3.938 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.2658, allocations: 7.984 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2658, allocations: 0 / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000108/0.2659, allocations: 122 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.266, allocations: 57.53 kB / 436.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.266, allocations: 11.97 kB / 436.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.266, allocations: 0 / 436.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.266, allocations: 7.938 kB / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.266, allocations: 8.016 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2662, allocations: 144.7 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2662, allocations: 0 / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.2663, allocations: 15.98 kB / 436.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2663, allocations: 4.062 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2663, allocations: 0 / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2663, allocations: 4 kB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.2663, allocations: 7.875 kB / 436.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2665, allocations: 177.2 kB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2665, allocations: 15.94 kB / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2666, allocations: 0 / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.2666, allocations: 4 kB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2667, allocations: 3.938 kB / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2667, allocations: 4 kB / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.2667, allocations: 115.2 kB / 437 MB, free: 1.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2667, allocations: 0 / 437 MB, free: 1.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.267, allocations: 4 kB / 437 MB, free: 1.109 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005229/0.2675, allocations: 0.7179 MB / 437.8 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.2676, allocations: 31.86 kB / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2676, allocations: 256 / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.2677, allocations: 15.98 kB / 437.8 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.268, allocations: 23.97 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2695, allocations: 1.41 MB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.2696, allocations: 81.81 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.144e-05/0.2696, allocations: 4 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.2696, allocations: 19.42 kB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2696, allocations: 0 / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.2913, allocations: 1.919 MB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.69, allocations: 7.922 kB / 441.3 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,time [Calling sys.exit(0), Time elapsed: 13.114154004957527]