Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0007866/0.0007866, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008092/0.0008092, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9348/0.9348, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.375e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00234/0.002364, allocations: 1.573 MB / 320 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.003197, allocations: 490.6 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.003281, allocations: 4 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.003328, allocations: 11.86 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003465, allocations: 11.81 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.003741, allocations: 55.81 kB / 320.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.003847, allocations: 47.78 kB / 320.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003949, allocations: 20.11 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.004019, allocations: 31.89 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.004071, allocations: 15.98 kB / 320.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.0041, allocations: 4 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.004111, allocations: 4 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.004161, allocations: 11.94 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.004188, allocations: 15.92 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.0043, allocations: 59.78 kB / 320.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004302, allocations: 0 / 320.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.004304, allocations: 0 / 320.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004308, allocations: 0 / 320.8 MB, free: 3.996 MB / 282.7 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.0003623/0.00467, allocations: 297.3 kB / 321.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.004715, allocations: 12.92 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.004747, allocations: 34.75 kB / 321.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.004778, allocations: 16.84 kB / 321.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.004976, allocations: 145.5 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.004987, allocations: 384 / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004998, allocations: 4.375 kB / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.005252, allocations: 114.5 kB / 321.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.00526, allocations: 192 / 321.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.00527, allocations: 3.938 kB / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005276, allocations: 4 kB / 321.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.005326, allocations: 23.92 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.005621, allocations: 237.8 kB / 321.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.005702, allocations: 75.72 kB / 321.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.005743, allocations: 26.64 kB / 321.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.005764, allocations: 4 kB / 321.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.005788, allocations: 42.47 kB / 321.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.005789, allocations: 4 kB / 321.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002073/0.005996, allocations: 85.56 kB / 321.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.006059, allocations: 106.8 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.006155, allocations: 137.8 kB / 322.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.006165, allocations: 25.7 kB / 322.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.006211, allocations: 96.08 kB / 322.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.006226, allocations: 3.953 kB / 322.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.006251, allocations: 14.09 kB / 322.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.006337, allocations: 322.8 kB / 322.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.006359, allocations: 7.938 kB / 322.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.006376, allocations: 11.98 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.006419, allocations: 24.78 kB / 322.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006421, allocations: 0 / 322.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.086e-05/0.006492, allocations: 57.52 kB / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.006507, allocations: 8 kB / 322.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006513, allocations: 4.094 kB / 322.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006526, allocations: 0 / 322.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.006597, allocations: 4 kB / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.006603, allocations: 0 / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.006623, allocations: 3.984 kB / 322.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.006631, allocations: 3.938 kB / 322.7 MB, free: 1.824 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 8.132e-05/0.006712, allocations: 117.8 kB / 322.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.006766, allocations: 53.58 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.006802, allocations: 11.97 kB / 322.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.006805, allocations: 4.062 kB / 322.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.006811, allocations: 4 kB / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006815, allocations: 0 / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.00695, allocations: 140.7 kB / 323 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.006953, allocations: 7.984 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.006993, allocations: 19.92 kB / 323.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006995, allocations: 0 / 323.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.007002, allocations: 0 / 323.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.007004, allocations: 4 kB / 323.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007004, allocations: 0 / 323.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.007123, allocations: 177.1 kB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.007157, allocations: 19.94 kB / 323.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.007168, allocations: 0 / 323.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.007202, allocations: 4 kB / 323.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.007232, allocations: 3.938 kB / 323.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.007237, allocations: 4 kB / 323.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.007291, allocations: 109.8 kB / 323.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007291, allocations: 0 / 323.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.007441, allocations: 4 kB / 323.4 MB, free: 1.07 MB / 282.7 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.0002924/0.007734, allocations: 0.7141 MB / 324.1 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.00783, allocations: 27.92 kB / 324.1 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007832, allocations: 0 / 324.1 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.007849, allocations: 4 kB / 324.1 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.008125, allocations: 26.83 kB / 324.1 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.009161, allocations: 1.326 MB / 325.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.376e-05/0.009235, allocations: 79.33 kB / 325.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.353e-05/0.009268, allocations: 4 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.009313, allocations: 16.48 kB / 325.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009314, allocations: 0 / 325.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.02446, allocations: 2.343 MB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.829, allocations: 3.938 kB / 327.9 MB, free: 12.52 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 8.576479185372591]