Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001626/0.001626, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3269, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002876/0.3298, allocations: 1.56 MB / 432.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.3302, allocations: 135.5 kB / 432.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3303, allocations: 3.938 kB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.3304, allocations: 3.938 kB / 432.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.3305, allocations: 23.86 kB / 432.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.3307, allocations: 35.91 kB / 432.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.3308, allocations: 27.92 kB / 432.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3309, allocations: 19.95 kB / 433 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.331, allocations: 11.94 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.331, allocations: 15.86 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.331, allocations: 4 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.331, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.3311, allocations: 11.98 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3311, allocations: 19.88 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3313, allocations: 57.38 kB / 433.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3313, allocations: 0 / 433.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3313, allocations: 0 / 433.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3313, allocations: 0 / 433.1 MB, free: 4.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004689/0.3317, allocations: 298 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3318, allocations: 11.98 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.3318, allocations: 42.73 kB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.3319, allocations: 8.891 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3321, allocations: 126.4 kB / 433.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3321, allocations: 8.375 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.3321, allocations: 4.375 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3324, allocations: 113.6 kB / 433.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3324, allocations: 7.875 kB / 433.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3324, allocations: 0 / 433.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3324, allocations: 0 / 433.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.3325, allocations: 19.98 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.3328, allocations: 232.8 kB / 433.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.333, allocations: 61.08 kB / 434 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.333, allocations: 33.7 kB / 434 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3331, allocations: 4 kB / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3331, allocations: 34.56 kB / 434.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3331, allocations: 0 / 434.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.3333, allocations: 81.55 kB / 434.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3334, allocations: 85.17 kB / 434.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3335, allocations: 134 kB / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3335, allocations: 29.7 kB / 434.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3336, allocations: 84.14 kB / 434.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.3336, allocations: 3.953 kB / 434.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.3336, allocations: 21.7 kB / 434.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3338, allocations: 314.8 kB / 434.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.3338, allocations: 11.98 kB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.3339, allocations: 27.44 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.334, allocations: 51.36 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.334, allocations: 3.938 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.3341, allocations: 65.61 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3341, allocations: 4 kB / 435 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3341, allocations: 4 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3341, allocations: 4.125 kB / 435 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.3342, allocations: 15.94 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3342, allocations: 0 / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.3342, allocations: 11.94 kB / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3342, allocations: 0 / 435 MB, free: 2.344 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 8.773e-05/0.3343, allocations: 122.7 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.3344, allocations: 45.69 kB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3344, allocations: 8.672 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3344, allocations: 4 kB / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3344, allocations: 0 / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3344, allocations: 7.984 kB / 435.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3346, allocations: 140.6 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3346, allocations: 4 kB / 435.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.3346, allocations: 7.938 kB / 435.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3346, allocations: 4 kB / 435.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3346, allocations: 4 kB / 435.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3346, allocations: 0 / 435.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3346, allocations: 3.938 kB / 435.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3348, allocations: 168.3 kB / 435.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3348, allocations: 15.92 kB / 435.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3349, allocations: 8 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.3349, allocations: 0 / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.3349, allocations: 7.984 kB / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3349, allocations: 0 / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.335, allocations: 106.2 kB / 435.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.335, allocations: 3.938 kB / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.3352, allocations: 4 kB / 435.6 MB, free: 1.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004867/0.3357, allocations: 0.6976 MB / 436.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.3358, allocations: 39.91 kB / 436.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3358, allocations: 0 / 436.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.3359, allocations: 4 kB / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3362, allocations: 23.95 kB / 436.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3375, allocations: 1.318 MB / 437.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.3375, allocations: 79.33 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.3376, allocations: 0 / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.3376, allocations: 19.42 kB / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3376, allocations: 0 / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3648, allocations: 2.012 MB / 439.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.14, allocations: 3.438 kB / 439.8 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.676476700231433]