Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001721/0.001721, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001907/0.001907, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.354/1.354, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 51.92 kB / 370.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 52.17 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002971/0.2641, allocations: 1.591 MB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.265, allocations: 446.9 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.2651, allocations: 7.938 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.2651, allocations: 3.938 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2652, allocations: 11.86 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.2655, allocations: 51.83 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2656, allocations: 47.84 kB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.2657, allocations: 16.17 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.2657, allocations: 23.86 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.2658, allocations: 15.92 kB / 424.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.2658, allocations: 4 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.2658, allocations: 7.938 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.2659, allocations: 11.98 kB / 424.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.2659, allocations: 23.8 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.266, allocations: 56.11 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.266, allocations: 0 / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.266, allocations: 4 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.266, allocations: 0 / 424.9 MB, free: 12.07 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.0004427/0.2665, allocations: 305.9 kB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2665, allocations: 8.031 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2665, allocations: 38.75 kB / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2666, allocations: 8.891 kB / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2668, allocations: 142.3 kB / 425.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.2668, allocations: 384 / 425.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2668, allocations: 12.31 kB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2671, allocations: 121.8 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2671, allocations: 0 / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2671, allocations: 0 / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.2671, allocations: 3.984 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.2672, allocations: 23.98 kB / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.2675, allocations: 241.6 kB / 425.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2677, allocations: 71.78 kB / 425.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.2677, allocations: 34.62 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2677, allocations: 4 kB / 425.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2678, allocations: 34.56 kB / 425.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2678, allocations: 0 / 425.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002603/0.268, allocations: 85.5 kB / 426 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.2681, allocations: 115.2 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2683, allocations: 140.4 kB / 426.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2683, allocations: 25.7 kB / 426.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2683, allocations: 100 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2683, allocations: 11.89 kB / 426.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.2684, allocations: 13.72 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2685, allocations: 322.8 kB / 426.7 MB, free: 10 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.2686, allocations: 8 kB / 426.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.2686, allocations: 35.42 kB / 426.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.704e-05/0.2687, allocations: 51.36 kB / 426.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2687, allocations: 0 / 426.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.2689, allocations: 77.5 kB / 426.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2689, allocations: 4 kB / 426.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2689, allocations: 4 kB / 426.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2689, allocations: 4.125 kB / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.269, allocations: 8 kB / 426.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.269, allocations: 4 kB / 426.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.269, allocations: 3.984 kB / 426.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.269, allocations: 4 kB / 426.9 MB, free: 9.77 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 9.287e-05/0.2691, allocations: 117.8 kB / 427 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.2692, allocations: 57.58 kB / 427.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.2692, allocations: 11.97 kB / 427.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2692, allocations: 0 / 427.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2692, allocations: 4.062 kB / 427.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2692, allocations: 0 / 427.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2694, allocations: 144.7 kB / 427.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2694, allocations: 0 / 427.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.2695, allocations: 11.98 kB / 427.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2695, allocations: 4 kB / 427.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.2695, allocations: 0 / 427.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2695, allocations: 3.938 kB / 427.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2695, allocations: 0 / 427.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.2697, allocations: 181.1 kB / 427.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2697, allocations: 19.94 kB / 427.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2697, allocations: 4 kB / 427.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.2698, allocations: 0 / 427.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2698, allocations: 4 kB / 427.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2698, allocations: 0 / 427.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.2699, allocations: 111.2 kB / 427.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2699, allocations: 3.938 kB / 427.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.2702, allocations: 4 kB / 427.6 MB, free: 9.016 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.0005255/0.2707, allocations: 0.7179 MB / 428.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2708, allocations: 31.92 kB / 428.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2708, allocations: 4 kB / 428.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.2709, allocations: 7.938 kB / 428.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2712, allocations: 26.88 kB / 428.4 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2726, allocations: 1.407 MB / 429.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.213e-05/0.2727, allocations: 83.17 kB / 429.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.2727, allocations: 0 / 429.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2728, allocations: 19.44 kB / 429.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2728, allocations: 0 / 429.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.3022, allocations: 2.226 MB / 432.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.9, allocations: 4.062 kB / 432.1 MB, free: 4.477 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.164410389959812]