Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001072/0.001072, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001033/0.001033, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8852/0.8852, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.337e-05, allocations: 5.094 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1937/0.1937, allocations: 1.698 MB / 443.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.1939, allocations: 87.09 kB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.194, allocations: 2.719 kB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.194, allocations: 12.39 kB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.1941, allocations: 26.69 kB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.857e-05/0.1942, allocations: 32.11 kB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1943, allocations: 109.1 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1945, allocations: 34.7 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.1945, allocations: 64.92 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.1946, allocations: 36.59 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1946, allocations: 11.44 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.1946, allocations: 13.97 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1946, allocations: 25.86 kB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.1947, allocations: 33.77 kB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1948, allocations: 121.7 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1948, allocations: 2.625 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1948, allocations: 0 / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1948, allocations: 0.5 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004219/0.1952, allocations: 347.2 kB / 444.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1953, allocations: 8.031 kB / 444.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1953, allocations: 47.3 kB / 444.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.1953, allocations: 7.609 kB / 444.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.387e-05/0.1954, allocations: 123.2 kB / 445 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1954, allocations: 9.375 kB / 445 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1954, allocations: 9.594 kB / 445 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1956, allocations: 122.8 kB / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1956, allocations: 192 / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1956, allocations: 3.938 kB / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1956, allocations: 6.656 kB / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1958, allocations: 109.6 kB / 445.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1963, allocations: 415.1 kB / 445.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1965, allocations: 79.81 kB / 445.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1966, allocations: 61.67 kB / 445.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1966, allocations: 0 / 445.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1966, allocations: 40.94 kB / 445.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1966, allocations: 0 / 445.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004535/0.1971, allocations: 188.7 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.1971, allocations: 55.41 kB / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.1972, allocations: 122.2 kB / 446.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.1972, allocations: 28.64 kB / 446.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.1972, allocations: 113.9 kB / 446.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.1972, allocations: 18.73 kB / 446.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1972, allocations: 22.06 kB / 446.3 MB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.833e-05/0.1973, allocations: 320.8 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.1973, allocations: 37.56 kB / 446.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.1974, allocations: 60.83 kB / 446.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1976, allocations: 97.69 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1976, allocations: 0 / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000204/0.1978, allocations: 152.9 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1978, allocations: 5.438 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1978, allocations: 3.188 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.1979, allocations: 22.36 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.198, allocations: 21.3 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.1985, allocations: 1.297 MB / 448.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.1986, allocations: 22.34 kB / 448.4 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1986, allocations: 2.938 kB / 448.4 MB, free: 40.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.1986, allocations: 113.7 kB / 448.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1987, allocations: 6.891 kB / 448.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.1987, allocations: 19.56 kB / 448.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1987, allocations: 0 / 448.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1987, allocations: 3.812 kB / 448.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1987, allocations: 4.062 kB / 448.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.199, allocations: 382.3 kB / 448.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.199, allocations: 6.719 kB / 448.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.199, allocations: 15.23 kB / 448.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.045e-05/0.1991, allocations: 25.86 kB / 448.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1991, allocations: 0 / 448.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003769/0.1995, allocations: 1.304 MB / 450.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1995, allocations: 0 / 450.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1997, allocations: 245.4 kB / 450.5 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.1997, allocations: 3.953 kB / 450.5 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-06/0.1997, allocations: 2.938 kB / 450.5 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.1997, allocations: 20.33 kB / 450.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1998, allocations: 6.375 kB / 450.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1998, allocations: 2.906 kB / 450.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.1998, allocations: 103.5 kB / 450.6 MB, free: 38.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1998, allocations: 0 / 450.6 MB, free: 38.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.2, allocations: 19.31 kB / 450.6 MB, free: 38.3 MB / 410.7 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000331/0.2003, allocations: 0.7699 MB / 451.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.2006, allocations: 197.5 kB / 451.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2006, allocations: 0 / 451.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2008, allocations: 162.4 kB / 451.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2011, allocations: 11.97 kB / 451.8 MB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2022, allocations: 1.604 MB / 453.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.2022, allocations: 81.44 kB / 453.4 MB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.2023, allocations: 6.75 kB / 453.4 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2023, allocations: 26.77 kB / 453.5 MB, free: 35.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2023, allocations: 3.938 kB / 453.5 MB, free: 35.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.2225, allocations: 3.084 MB / 456.6 MB, free: 34.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.526, allocations: 11.66 kB / 456.6 MB, free: 34.86 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.618390307761729]