Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001704/0.001704, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002155/0.002155, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 377.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2764, allocations: 53.41 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002849/0.2792, allocations: 1.6 MB / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.2802, allocations: 0.5182 MB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.2803, allocations: 7.938 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.2803, allocations: 7.922 kB / 433.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2804, allocations: 7.875 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2807, allocations: 63.8 kB / 433.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2808, allocations: 47.8 kB / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.2809, allocations: 12.17 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.281, allocations: 31.84 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.2811, allocations: 23.86 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.2811, allocations: 8 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.2811, allocations: 4 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.2812, allocations: 15.92 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.2812, allocations: 19.88 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.2814, allocations: 64.09 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2814, allocations: 0 / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2814, allocations: 0 / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2814, allocations: 0 / 433.6 MB, free: 4.047 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.0004568/0.2818, allocations: 302 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2819, allocations: 15.98 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.2819, allocations: 42.67 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.282, allocations: 16.89 kB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2823, allocations: 154.4 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2823, allocations: 4.125 kB / 434.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2823, allocations: 4 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2826, allocations: 121.9 kB / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2826, allocations: 0 / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2826, allocations: 0 / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2826, allocations: 4 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.2827, allocations: 27.91 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.2831, allocations: 237.7 kB / 434.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2832, allocations: 67.84 kB / 434.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.2832, allocations: 30.52 kB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2833, allocations: 11.97 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2833, allocations: 42.5 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2833, allocations: 0 / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002665/0.2836, allocations: 85.52 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.2836, allocations: 102.8 kB / 434.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2838, allocations: 157.6 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2838, allocations: 25.7 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.2839, allocations: 88.52 kB / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.2839, allocations: 4 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2839, allocations: 25.66 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.284, allocations: 318.8 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.2841, allocations: 7.984 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.2842, allocations: 35.42 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.2842, allocations: 47.36 kB / 435.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2843, allocations: 4 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.2844, allocations: 65.62 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2844, allocations: 8 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2844, allocations: 0 / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2844, allocations: 3.938 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.2845, allocations: 11.98 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2845, allocations: 7.875 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.2845, allocations: 4.125 kB / 435.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2846, allocations: 8 kB / 435.6 MB, free: 1.727 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.004e-05/0.2846, allocations: 118.7 kB / 435.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.2847, allocations: 53.55 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.2848, allocations: 15.95 kB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2848, allocations: 4 kB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2848, allocations: 3.938 kB / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2848, allocations: 0 / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.2849, allocations: 144.7 kB / 436 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.285, allocations: 0 / 436 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.285, allocations: 12.06 kB / 436 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.285, allocations: 0 / 436 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.285, allocations: 4 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.285, allocations: 3.984 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.285, allocations: 7.922 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.2852, allocations: 181.1 kB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.2853, allocations: 11.95 kB / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.2853, allocations: 11.98 kB / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.2854, allocations: 0 / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.2854, allocations: 11.94 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2854, allocations: 3.938 kB / 436.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.2855, allocations: 114.8 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2855, allocations: 0 / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.2857, allocations: 4 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.0004893/0.2862, allocations: 0.7063 MB / 437 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2863, allocations: 36.09 kB / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2863, allocations: 4.062 kB / 437.1 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.2864, allocations: 8 kB / 437.1 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2867, allocations: 26.7 kB / 437.1 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2882, allocations: 1.416 MB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.115e-05/0.2883, allocations: 83.58 kB / 438.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.2883, allocations: 8.219 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.2883, allocations: 23.36 kB / 438.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2883, allocations: 0 / 438.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3168, allocations: 2.296 MB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.24, allocations: 8.672 kB / 440.9 MB, free: 12.3 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 13.907843713182956]