Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 209.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2346, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002875/0.2375, allocations: 1.596 MB / 432.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.2384, allocations: 0.4987 MB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.2385, allocations: 0 / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.2386, allocations: 7.938 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2387, allocations: 11.86 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.239, allocations: 59.81 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2391, allocations: 39.86 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.2392, allocations: 11.98 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2393, allocations: 31.86 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.2393, allocations: 23.84 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2393, allocations: 4 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.2394, allocations: 4 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.2394, allocations: 19.92 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.2395, allocations: 15.88 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2396, allocations: 61.42 kB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2396, allocations: 4 kB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2396, allocations: 0 / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2396, allocations: 0 / 433.5 MB, free: 4.242 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.0004847/0.2401, allocations: 312.1 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2401, allocations: 12.03 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.2402, allocations: 38.73 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.2403, allocations: 12.89 kB / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2405, allocations: 138.4 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2405, allocations: 8.375 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2406, allocations: 4.375 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.2408, allocations: 117.1 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2408, allocations: 0 / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2408, allocations: 0 / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2408, allocations: 7.938 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.2409, allocations: 23.97 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2412, allocations: 236.8 kB / 434.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.2414, allocations: 61.14 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.2415, allocations: 33.75 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2415, allocations: 0 / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2415, allocations: 38.5 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2415, allocations: 0 / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.2418, allocations: 77.62 kB / 434.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2419, allocations: 89.16 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.242, allocations: 141.2 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.242, allocations: 25.7 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2421, allocations: 84.14 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2421, allocations: 15.94 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.2421, allocations: 13.72 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2423, allocations: 318.8 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.2423, allocations: 15.92 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.2424, allocations: 35.42 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.317e-05/0.2424, allocations: 47.36 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2425, allocations: 4 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.2426, allocations: 65.58 kB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2426, allocations: 8 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2426, allocations: 0 / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2426, allocations: 4.109 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.2427, allocations: 15.94 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2427, allocations: 4 kB / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.2427, allocations: 0 / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2427, allocations: 4 kB / 435.4 MB, free: 2.023 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.369e-05/0.2428, allocations: 121.8 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.2429, allocations: 49.64 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.2429, allocations: 12.34 kB / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.2429, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.243, allocations: 4 kB / 435.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.243, allocations: 8 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2431, allocations: 140.7 kB / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2431, allocations: 3.938 kB / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.2432, allocations: 8 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2432, allocations: 0 / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2432, allocations: 4 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2432, allocations: 3.984 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2432, allocations: 0 / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.2434, allocations: 168.3 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.2434, allocations: 19.89 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2434, allocations: 4 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.2435, allocations: 7.984 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.2435, allocations: 4 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2435, allocations: 3.938 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.2436, allocations: 111.2 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2436, allocations: 0 / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.2439, allocations: 4 kB / 436.1 MB, free: 1.273 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.0004967/0.2444, allocations: 0.7018 MB / 436.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2445, allocations: 43.94 kB / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2445, allocations: 3.938 kB / 436.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.2445, allocations: 4 kB / 436.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2448, allocations: 30.2 kB / 436.9 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2463, allocations: 1.365 MB / 438.2 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.691e-05/0.2464, allocations: 79.33 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.2464, allocations: 0 / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.2464, allocations: 15.44 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2464, allocations: 0 / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.2756, allocations: 2.121 MB / 440.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.21, allocations: 7.188 kB / 440.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.64419618807733]