Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001878/0.001878, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002243/0.002243, allocations: 181.7 kB / 23.72 MB, free: 4.699 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.389/1.389, allocations: 225.6 MB / 252.5 MB, free: 13 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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.92 kB / 370.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.00331/0.2498, allocations: 1.599 MB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2509, allocations: 0.4948 MB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.251, allocations: 0 / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.035e-05/0.251, allocations: 3.938 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2511, allocations: 15.86 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.2515, allocations: 47.83 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2516, allocations: 47.8 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2517, allocations: 16.16 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.2518, allocations: 23.92 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.2519, allocations: 23.86 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2519, allocations: 4 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.2519, allocations: 0 / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.252, allocations: 11.94 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.252, allocations: 35.78 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2522, allocations: 55.06 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2522, allocations: 4 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2522, allocations: 0 / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2522, allocations: 0 / 425 MB, free: 12.18 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.0005228/0.2527, allocations: 311 kB / 425.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2527, allocations: 12.03 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.2528, allocations: 30.75 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2528, allocations: 8.891 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2531, allocations: 142.3 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.2531, allocations: 4.375 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2531, allocations: 4.375 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2534, allocations: 125.7 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2534, allocations: 0 / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2534, allocations: 0 / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2534, allocations: 4 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.2535, allocations: 19.98 kB / 425.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.2538, allocations: 249.6 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2539, allocations: 71.77 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.254, allocations: 34.62 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.254, allocations: 7.984 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2541, allocations: 30.56 kB / 426.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2541, allocations: 3.938 kB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002759/0.2543, allocations: 93.69 kB / 426.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.2544, allocations: 102.8 kB / 426.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2545, allocations: 144.4 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2546, allocations: 25.7 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.2546, allocations: 96.08 kB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.2546, allocations: 3.953 kB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.2547, allocations: 25.89 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2548, allocations: 314.8 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.2549, allocations: 19.98 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.2549, allocations: 31.42 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.255, allocations: 51.36 kB / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.255, allocations: 0 / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001448/0.2552, allocations: 69.52 kB / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2552, allocations: 8 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2552, allocations: 0 / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2552, allocations: 128 / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.2553, allocations: 15.98 kB / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2553, allocations: 0 / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.2553, allocations: 4 kB / 427 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2553, allocations: 0 / 427 MB, free: 9.887 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.0001073/0.2554, allocations: 125.8 kB / 427.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.2555, allocations: 53.59 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.2556, allocations: 11.95 kB / 427.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2556, allocations: 64 / 427.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2556, allocations: 8 kB / 427.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2556, allocations: 3.938 kB / 427.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2558, allocations: 144.7 kB / 427.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2558, allocations: 0 / 427.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.2558, allocations: 15.98 kB / 427.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2558, allocations: 0 / 427.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2558, allocations: 0 / 427.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2558, allocations: 4 kB / 427.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2558, allocations: 3.938 kB / 427.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.256, allocations: 177.1 kB / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.2561, allocations: 19.94 kB / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2561, allocations: 0 / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.2562, allocations: 0 / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.2562, allocations: 7.984 kB / 427.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2562, allocations: 0 / 427.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.2563, allocations: 115.3 kB / 427.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2563, allocations: 0 / 427.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.2565, allocations: 7.938 kB / 427.7 MB, free: 9.117 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.0005098/0.257, allocations: 0.714 MB / 428.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2572, allocations: 31.92 kB / 428.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2572, allocations: 0 / 428.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.2572, allocations: 11.98 kB / 428.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2576, allocations: 35.39 kB / 428.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.259, allocations: 1.399 MB / 429.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2594, allocations: 0.6922 MB / 430.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.2594, allocations: 8.031 kB / 430.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.2595, allocations: 19.42 kB / 430.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2595, allocations: 0 / 430.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.2891, allocations: 1.824 MB / 432.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.76, allocations: 4.062 kB / 432.5 MB, free: 4.352 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.118558053858578]