Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.002003/0.002003, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002431/0.002431, allocations: 213.8 kB / 23.73 MB, free: 4.406 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3008, allocations: 53.39 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003365/0.3042, allocations: 1.608 MB / 432.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3053, allocations: 0.4948 MB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3054, allocations: 7.938 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.3055, allocations: 3.938 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3056, allocations: 19.91 kB / 433.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.306, allocations: 55.83 kB / 433.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3061, allocations: 51.78 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3062, allocations: 12.17 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3064, allocations: 35.86 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.3065, allocations: 15.86 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3065, allocations: 4 kB / 433.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.604e-05/0.3065, allocations: 8 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.3066, allocations: 19.91 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.3066, allocations: 15.88 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3068, allocations: 69.36 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3068, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3068, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3068, allocations: 0 / 433.6 MB, free: 4.039 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.0005585/0.3074, allocations: 305.9 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3074, allocations: 15.98 kB / 433.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.3075, allocations: 38.69 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3076, allocations: 16.88 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.308, allocations: 158.4 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.308, allocations: 8.125 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.308, allocations: 0 / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3083, allocations: 113.9 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3083, allocations: 0 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3083, allocations: 0 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3083, allocations: 4 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.3084, allocations: 27.92 kB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3088, allocations: 241.7 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.309, allocations: 67.84 kB / 434.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.309, allocations: 30.56 kB / 434.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3091, allocations: 11.88 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3091, allocations: 34.56 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3091, allocations: 0 / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002969/0.3094, allocations: 85.75 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3095, allocations: 114.7 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3096, allocations: 145.7 kB / 434.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3096, allocations: 25.7 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.3097, allocations: 92.12 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3097, allocations: 4 kB / 435.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3098, allocations: 17.67 kB / 435.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3099, allocations: 322.8 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.31, allocations: 8.188 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.31, allocations: 35.42 kB / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3101, allocations: 55.36 kB / 435.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3101, allocations: 0 / 435.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.3103, allocations: 65.73 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3103, allocations: 14.19 kB / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3103, allocations: 0 / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3103, allocations: 0 / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.3104, allocations: 11.94 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3104, allocations: 3.938 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.3105, allocations: 7.984 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3105, allocations: 7.938 kB / 435.6 MB, free: 1.723 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.0001031/0.3106, allocations: 114.7 kB / 435.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.3107, allocations: 57.53 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.3107, allocations: 16.03 kB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3107, allocations: 4 kB / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3107, allocations: 3.938 kB / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3107, allocations: 96 / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3109, allocations: 144.7 kB / 435.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3109, allocations: 3.984 kB / 435.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.311, allocations: 11.98 kB / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.311, allocations: 0 / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.311, allocations: 4 kB / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.311, allocations: 0 / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.311, allocations: 7.938 kB / 436 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3112, allocations: 181.1 kB / 436.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3112, allocations: 15.94 kB / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3112, allocations: 4 kB / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.3113, allocations: 0 / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3113, allocations: 7.938 kB / 436.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3113, allocations: 3.984 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.3114, allocations: 114.8 kB / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3114, allocations: 0 / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3117, allocations: 8 kB / 436.3 MB, free: 0.9531 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.0005008/0.3122, allocations: 0.7141 MB / 437 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3123, allocations: 27.92 kB / 437 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3123, allocations: 0 / 437 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.423e-05/0.3124, allocations: 11.98 kB / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3127, allocations: 31.33 kB / 437.1 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3143, allocations: 1.402 MB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.3144, allocations: 78.08 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.3144, allocations: 12.11 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3145, allocations: 15.44 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3145, allocations: 0 / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.3434, allocations: 2.254 MB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.31, allocations: 4 kB / 440.8 MB, free: 12.36 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.979877878911793]