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.001361/0.001361, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.007957/0.007957, allocations: 162 kB / 24.7 MB, free: 9.426 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.9162/0.9162, allocations: 177.1 MB / 205 MB, free: 5.738 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.2393/0.2393, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.879e-06, allocations: 3.984 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/4.202e-05, allocations: 2.281 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1886/0.1887, allocations: 4.762 MB / 448.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1913, allocations: 1.581 MB / 449.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.1917, allocations: 24.03 kB / 449.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.1935, allocations: 1.553 MB / 451.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.1943, allocations: 322.6 kB / 451.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.1951, allocations: 0.4968 MB / 452.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.1958, allocations: 0.8315 MB / 453 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.1966, allocations: 0.6391 MB / 453.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.1971, allocations: 0.4967 MB / 454.1 MB, free: 38.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.1975, allocations: 347.5 kB / 454.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1976, allocations: 75.75 kB / 454.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.198, allocations: 195.4 kB / 454.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.1981, allocations: 175.8 kB / 454.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1983, allocations: 289 kB / 455.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.1992, allocations: 1.195 MB / 456.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1992, allocations: 0 / 456.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1992, allocations: 4 kB / 456.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1992, allocations: 0 / 456.4 MB, free: 37.82 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.001777/0.201, allocations: 1.288 MB / 457.7 MB, free: 37.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.201, allocations: 9.656 kB / 457.7 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.2018, allocations: 236.3 kB / 457.9 MB, free: 37.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.202, allocations: 200.6 kB / 458.1 MB, free: 36.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.202, allocations: 75.75 kB / 458.2 MB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.2021, allocations: 104.6 kB / 458.3 MB, free: 36.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.203, allocations: 0.934 MB / 459.2 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.2031, allocations: 11.09 kB / 459.2 MB, free: 36.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.2031, allocations: 41.44 kB / 459.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2031, allocations: 21.88 kB / 459.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.2038, allocations: 0.721 MB / 460 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.2066, allocations: 2.713 MB / 462.7 MB, free: 34.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.2075, allocations: 0.7612 MB / 463.5 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.2077, allocations: 255.6 kB / 463.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.81e-05/0.2078, allocations: 25.52 kB / 463.8 MB, free: 33.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2079, allocations: 46.14 kB / 463.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.93e-06/0.2079, allocations: 0 / 463.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001458/0.2093, allocations: 1.019 MB / 464.8 MB, free: 33.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2094, allocations: 137.8 kB / 465 MB, free: 33.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.2096, allocations: 294 kB / 465.3 MB, free: 33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2096, allocations: 40.67 kB / 465.3 MB, free: 32.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2097, allocations: 415.6 kB / 465.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2098, allocations: 239.6 kB / 465.9 MB, free: 32.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.21, allocations: 149.8 kB / 466.1 MB, free: 32.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.21, allocations: 349.6 kB / 466.4 MB, free: 32.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2102, allocations: 195.8 kB / 466.6 MB, free: 31.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2105, allocations: 413.3 kB / 467 MB, free: 31.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.211, allocations: 0.6321 MB / 467.6 MB, free: 31.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.211, allocations: 4.25 kB / 467.6 MB, free: 31.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008366/0.2118, allocations: 0.8812 MB / 468.5 MB, free: 30.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2119, allocations: 6.781 kB / 468.5 MB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2119, allocations: 6.469 kB / 468.5 MB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.2123, allocations: 227.1 kB / 468.8 MB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.2125, allocations: 138.4 kB / 468.9 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.2153, allocations: 6.156 MB / 475.1 MB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.2156, allocations: 81.75 kB / 475.1 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.2157, allocations: 43.19 kB / 475.2 MB, free: 25.04 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.0002741/0.2159, allocations: 217.8 kB / 475.4 MB, free: 24.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.216, allocations: 47.09 kB / 475.4 MB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.2167, allocations: 0.6731 MB / 476.1 MB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2167, allocations: 12.44 kB / 476.1 MB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2167, allocations: 2.844 kB / 476.1 MB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2168, allocations: 6.312 kB / 476.1 MB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2182, allocations: 1.348 MB / 477.5 MB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2182, allocations: 288 / 477.5 MB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2183, allocations: 69.27 kB / 477.5 MB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.2186, allocations: 215.1 kB / 477.8 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.2186, allocations: 14.34 kB / 477.8 MB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.2212, allocations: 6.153 MB / 483.9 MB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2212, allocations: 7.062 kB / 483.9 MB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009534/0.2222, allocations: 1.186 MB / 485.1 MB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.2223, allocations: 46.77 kB / 485.2 MB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.2223, allocations: 14.12 kB / 485.2 MB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.2225, allocations: 11.06 kB / 485.2 MB, free: 17.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2226, allocations: 65.44 kB / 485.3 MB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.2226, allocations: 18.66 kB / 485.3 MB, free: 17.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.2227, allocations: 203 kB / 485.5 MB, free: 17.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2227, allocations: 0 / 485.5 MB, free: 17.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008231/0.2236, allocations: 277 kB / 485.7 MB, free: 17.01 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.0002681/0.2238, allocations: 146.6 kB / 485.9 MB, free: 16.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2249, allocations: 1.048 MB / 486.9 MB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2249, allocations: 2.969 kB / 486.9 MB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.2254, allocations: 0.7455 MB / 487.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.2259, allocations: 45.38 kB / 487.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2275, allocations: 1.23 MB / 489 MB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2278, allocations: 313 kB / 489.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.2278, allocations: 51.11 kB / 489.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2278, allocations: 0 / 489.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02063/0.2485, allocations: 19.93 MB / 0.4973 GB, free: 9.879 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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: 5.547966992482543]