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.001244/0.001244, 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.001365/0.001365, allocations: 194.6 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.395/1.395, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.002157/0.002157, allocations: 51.92 kB / 370.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2436, allocations: 52.17 MB / 422.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002947/0.2466, allocations: 1.591 MB / 424.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.2474, allocations: 466.8 kB / 424.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.2475, allocations: 0 / 424.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.2475, allocations: 7.875 kB / 424.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2477, allocations: 11.94 kB / 424.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2479, allocations: 43.83 kB / 424.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.248, allocations: 51.84 kB / 424.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.2481, allocations: 8.172 kB / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.2482, allocations: 31.8 kB / 424.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.2483, allocations: 15.92 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.2483, allocations: 4 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2483, allocations: 4 kB / 424.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.2484, allocations: 19.92 kB / 424.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.2484, allocations: 19.81 kB / 424.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2485, allocations: 57.42 kB / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2485, allocations: 0 / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2485, allocations: 0 / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2485, allocations: 0 / 424.9 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.0005106/0.249, allocations: 310 kB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2491, allocations: 11.97 kB / 425.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.2491, allocations: 30.75 kB / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2491, allocations: 16.88 kB / 425.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.2494, allocations: 153.3 kB / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2494, allocations: 384 / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.2494, allocations: 12.38 kB / 425.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.2497, allocations: 113.8 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2497, allocations: 0 / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2497, allocations: 0 / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2497, allocations: 4 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.2498, allocations: 31.91 kB / 425.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.2501, allocations: 237.7 kB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2502, allocations: 67.78 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.2503, allocations: 30.64 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2503, allocations: 3.984 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2504, allocations: 38.5 kB / 425.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2504, allocations: 4 kB / 425.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002521/0.2506, allocations: 81.56 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.2507, allocations: 106.8 kB / 426.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2508, allocations: 141.8 kB / 426.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2509, allocations: 29.64 kB / 426.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2509, allocations: 92.08 kB / 426.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2509, allocations: 7.953 kB / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.251, allocations: 22.08 kB / 426.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2511, allocations: 318.8 kB / 426.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.2512, allocations: 19.92 kB / 426.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.2512, allocations: 27.44 kB / 426.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.2513, allocations: 51.36 kB / 426.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2513, allocations: 0 / 426.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.2515, allocations: 73.56 kB / 426.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2515, allocations: 4 kB / 426.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2515, allocations: 0 / 426.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2515, allocations: 4 kB / 426.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.2516, allocations: 7.984 kB / 426.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2516, allocations: 4 kB / 426.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.2516, allocations: 0 / 426.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2516, allocations: 4 kB / 426.9 MB, free: 9.891 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.525e-05/0.2517, allocations: 129.8 kB / 427 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.2518, allocations: 53.66 kB / 427.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2518, allocations: 11.95 kB / 427.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2518, allocations: 0 / 427.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2518, allocations: 96 / 427.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2519, allocations: 7.922 kB / 427.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.252, allocations: 140.7 kB / 427.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.252, allocations: 0 / 427.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.2521, allocations: 15.92 kB / 427.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2521, allocations: 4 kB / 427.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2521, allocations: 4.062 kB / 427.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2521, allocations: 4 kB / 427.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2521, allocations: 0 / 427.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.2523, allocations: 181.1 kB / 427.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.2524, allocations: 15.94 kB / 427.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2524, allocations: 4 kB / 427.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.2524, allocations: 3.984 kB / 427.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2525, allocations: 7.938 kB / 427.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2525, allocations: 0 / 427.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.2526, allocations: 118.1 kB / 427.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2526, allocations: 4 kB / 427.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.2528, allocations: 8 kB / 427.6 MB, free: 9.109 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.0004874/0.2533, allocations: 0.7063 MB / 428.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2534, allocations: 27.92 kB / 428.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2534, allocations: 4 kB / 428.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.2534, allocations: 16.17 kB / 428.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2538, allocations: 24.02 kB / 428.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2552, allocations: 1.392 MB / 429.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.2553, allocations: 83.44 kB / 429.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.2553, allocations: 8.25 kB / 429.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.2554, allocations: 15.42 kB / 429.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2554, allocations: 0 / 429.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.2822, allocations: 2.28 MB / 432.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.39, allocations: 10.52 kB / 432.2 MB, free: 4.531 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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.852192868944257]