Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.001806/0.001806, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.002153/0.002153, allocations: 208.8 kB / 23.74 MB, free: 4.543 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.619/1.619, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 75.88 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003384/0.3476, allocations: 1.583 MB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3488, allocations: 0.5725 MB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.3489, allocations: 0 / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.3489, allocations: 7.875 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.3491, allocations: 19.92 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.3495, allocations: 59.75 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3496, allocations: 47.84 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3497, allocations: 12.19 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3499, allocations: 31.84 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.3499, allocations: 15.92 kB / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3499, allocations: 4 kB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.35, allocations: 11.88 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.3501, allocations: 11.98 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.3501, allocations: 31.75 kB / 433.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3503, allocations: 63.17 kB / 433.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3503, allocations: 0 / 433.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3503, allocations: 0 / 433.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3503, allocations: 3.938 kB / 433.6 MB, free: 4.211 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.0005663/0.3509, allocations: 306.9 kB / 433.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3509, allocations: 8.031 kB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.351, allocations: 38.75 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.3512, allocations: 16.88 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.3515, allocations: 150.5 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3515, allocations: 8.062 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3515, allocations: 11.97 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.3518, allocations: 97.05 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3519, allocations: 4 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3519, allocations: 8 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3519, allocations: 0 / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.3519, allocations: 15.98 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.3523, allocations: 236.8 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3524, allocations: 45.2 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.3525, allocations: 17.78 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3525, allocations: 4 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3526, allocations: 38.44 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3526, allocations: 0 / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002882/0.3528, allocations: 73.66 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.3529, allocations: 77.11 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3531, allocations: 153.7 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3531, allocations: 25.7 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.3532, allocations: 92.12 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3532, allocations: 7.891 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3532, allocations: 17.72 kB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3534, allocations: 315 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.3535, allocations: 15.98 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.3535, allocations: 13.72 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.3536, allocations: 33.64 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3536, allocations: 0 / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.3537, allocations: 61.69 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3537, allocations: 4 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3537, allocations: 4 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3538, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.3538, allocations: 4 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3538, allocations: 7.875 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.3539, allocations: 7.984 kB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3539, allocations: 0 / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001147/0.354, allocations: 117.9 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.3541, allocations: 37.66 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.3541, allocations: 15.8 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3541, allocations: 0 / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3541, allocations: 3.938 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3541, allocations: 0 / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3543, allocations: 144.7 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3543, allocations: 0 / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.3544, allocations: 7.984 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3544, allocations: 4.031 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3544, allocations: 4 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3544, allocations: 0 / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3544, allocations: 7.875 kB / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3546, allocations: 156.4 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3546, allocations: 15.88 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3546, allocations: 4.031 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.3547, allocations: 12 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3548, allocations: 7.922 kB / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3548, allocations: 0 / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.3548, allocations: 114.2 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 0 / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.3551, allocations: 4 kB / 436.2 MB, free: 1.379 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 (2): * Single equations (assignments): 2 * 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.0005019/0.3556, allocations: 0.6937 MB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3557, allocations: 19.98 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3557, allocations: 0 / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.3558, allocations: 16.03 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3561, allocations: 27.89 kB / 436.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3576, allocations: 1.324 MB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3579, allocations: 0.6924 MB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.3579, allocations: 11.92 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.358, allocations: 19.42 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.358, allocations: 0 / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3879, allocations: 1.748 MB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.6, allocations: 4.562 kB / 440.7 MB, free: 12.79 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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: 14.399256296997919]