Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.0008475/0.0008475, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008425/0.0008425, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9585/0.9585, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2827/0.2827, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.646e-05, allocations: 2.281 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1878/0.1879, allocations: 4.769 MB / 446.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1897, allocations: 1.572 MB / 448.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1899, allocations: 20.16 kB / 448.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.1912, allocations: 1.564 MB / 450.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1917, allocations: 327.1 kB / 450.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.1923, allocations: 0.4922 MB / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.1928, allocations: 0.8292 MB / 451.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000722/0.1935, allocations: 0.6339 MB / 452.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.1939, allocations: 0.5008 MB / 452.9 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1942, allocations: 359.4 kB / 453.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.1943, allocations: 75.41 kB / 453.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1946, allocations: 184.2 kB / 453.5 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.1946, allocations: 181.4 kB / 453.7 MB, free: 38.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1948, allocations: 285 kB / 453.9 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.1956, allocations: 1.19 MB / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1956, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1956, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1956, allocations: 0 / 455.1 MB, free: 37.73 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001717/0.1973, allocations: 1.299 MB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1974, allocations: 8.625 kB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1975, allocations: 157.8 kB / 456.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.1983, allocations: 229.8 kB / 456.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1985, allocations: 203.9 kB / 457 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.1985, allocations: 73.62 kB / 457.1 MB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.1986, allocations: 106.2 kB / 457.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.1994, allocations: 0.9372 MB / 458.1 MB, free: 36.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1995, allocations: 7.109 kB / 458.1 MB, free: 36.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.1995, allocations: 38.28 kB / 458.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1995, allocations: 25.69 kB / 458.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.2002, allocations: 0.7227 MB / 458.9 MB, free: 35.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.203, allocations: 2.836 MB / 461.7 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.2039, allocations: 0.7505 MB / 462.5 MB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.2041, allocations: 259.4 kB / 462.7 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.207e-05/0.2042, allocations: 38.47 kB / 462.8 MB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2042, allocations: 41.78 kB / 462.8 MB, free: 33.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.2042, allocations: 3.219 kB / 462.8 MB, free: 33.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001515/0.2057, allocations: 1.014 MB / 463.8 MB, free: 33.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2058, allocations: 138.5 kB / 464 MB, free: 32.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.206, allocations: 327 kB / 464.3 MB, free: 32.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.206, allocations: 36.83 kB / 464.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2062, allocations: 407.6 kB / 464.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.2062, allocations: 237.8 kB / 465 MB, free: 32.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2064, allocations: 149.4 kB / 465.1 MB, free: 32.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.2064, allocations: 357.8 kB / 465.5 MB, free: 31.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.2066, allocations: 196.6 kB / 465.7 MB, free: 31.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.2069, allocations: 406.6 kB / 466.1 MB, free: 31.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.2074, allocations: 0.6305 MB / 466.7 MB, free: 30.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2074, allocations: 3.344 kB / 466.7 MB, free: 30.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.000842/0.2082, allocations: 0.8751 MB / 467.6 MB, free: 30.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2083, allocations: 13.69 kB / 467.6 MB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2083, allocations: 6.344 kB / 467.6 MB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004074/0.2087, allocations: 230 kB / 467.8 MB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2089, allocations: 136.9 kB / 467.9 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.2115, allocations: 6.244 MB / 474.2 MB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.2118, allocations: 86.03 kB / 474.3 MB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2118, allocations: 33.78 kB / 474.3 MB, free: 24.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.2121, allocations: 223.9 kB / 474.5 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.2121, allocations: 49.78 kB / 474.6 MB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.2128, allocations: 0.6821 MB / 475.2 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2128, allocations: 6.031 kB / 475.3 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2128, allocations: 6.344 kB / 475.3 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2128, allocations: 3.328 kB / 475.3 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.2141, allocations: 1.462 MB / 476.7 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2141, allocations: 0 / 476.7 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2142, allocations: 72.91 kB / 476.8 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.2145, allocations: 213.5 kB / 477 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2146, allocations: 18.72 kB / 477 MB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.2169, allocations: 6.237 MB / 483.3 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2169, allocations: 3.328 kB / 483.3 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009092/0.2178, allocations: 1.19 MB / 484.5 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.2179, allocations: 57.64 kB / 484.5 MB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2179, allocations: 11.03 kB / 484.5 MB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.2181, allocations: 18.41 kB / 484.5 MB, free: 16.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.2182, allocations: 63.45 kB / 484.6 MB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2182, allocations: 16.03 kB / 484.6 MB, free: 16.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.2183, allocations: 220.9 kB / 484.8 MB, free: 16.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2183, allocations: 0 / 484.8 MB, free: 16.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00068/0.219, allocations: 287.9 kB / 485.1 MB, free: 16.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.2201, allocations: 1.76 MB / 486.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009959/0.2211, allocations: 1.043 MB / 487.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2211, allocations: 4.438 kB / 487.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.2215, allocations: 0.7575 MB / 488.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2219, allocations: 49.19 kB / 488.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.2261, allocations: 5.088 MB / 493.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2264, allocations: 320.2 kB / 494.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.2266, allocations: 64.28 kB / 494.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2267, allocations: 232.9 kB / 494.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2267, allocations: 0 / 494.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2584, allocations: 12.92 MB / 0.4954 GB, free: 7.938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.429, allocations: 14.02 kB / 0.4955 GB, free: 7.926 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 9.501289188861847]