Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 107.2 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1655, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007626/0.1732, allocations: 5.273 MB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.1772, allocations: 1.62 MB / 0.4946 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1783, allocations: 16 kB / 0.4946 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003905/0.1823, allocations: 1.591 MB / 0.4962 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1838, allocations: 309.6 kB / 0.4965 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1855, allocations: 0.6852 MB / 0.4972 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1868, allocations: 0.8008 MB / 0.4979 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1881, allocations: 0.729 MB / 0.4987 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.1887, allocations: 338.8 kB / 0.499 GB, free: 352 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/0.1895, allocations: 462.1 kB / 0.4994 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1897, allocations: 72 kB / 0.4995 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.1904, allocations: 191.9 kB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.1906, allocations: 175.3 kB / 0.4998 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006016/0.1912, allocations: 421.9 kB / 0.5002 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1928, allocations: 1.167 MB / 0.5014 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1928, allocations: 0 / 0.5014 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1928, allocations: 0 / 0.5014 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.236e-05/0.1929, allocations: 8 kB / 0.5014 GB, free: 13.87 MB / 398.1 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.00394/0.1968, allocations: 1.36 MB / 0.5027 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.1969, allocations: 11.89 kB / 0.5027 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.1985, allocations: 236.2 kB / 0.5029 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1988, allocations: 259.9 kB / 0.5032 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/0.1989, allocations: 74.38 kB / 0.5033 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.1992, allocations: 104.1 kB / 0.5034 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.201, allocations: 0.9282 MB / 0.5043 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.2011, allocations: 7.953 kB / 0.5043 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.2012, allocations: 40 kB / 0.5043 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.2012, allocations: 28 kB / 0.5043 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2025, allocations: 0.7221 MB / 0.505 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005456/0.208, allocations: 3.91 MB / 0.5089 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.2108, allocations: 3.38 MB / 0.5122 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.2113, allocations: 288.5 kB / 0.5124 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2114, allocations: 105.3 kB / 0.5125 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2115, allocations: 42.89 kB / 0.5126 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.885e-06/0.2115, allocations: 0 / 0.5126 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002678/0.2142, allocations: 1.33 MB / 0.5139 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2142, allocations: 136.5 kB / 0.514 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.2146, allocations: 310.8 kB / 0.5143 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.2147, allocations: 37.7 kB / 0.5143 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.2149, allocations: 415.8 kB / 0.5147 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.2151, allocations: 241.9 kB / 0.515 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.2153, allocations: 150.6 kB / 0.5151 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2154, allocations: 354.7 kB / 0.5155 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.2158, allocations: 193.9 kB / 0.5156 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.2163, allocations: 400.7 kB / 0.516 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.2172, allocations: 0.631 MB / 0.5166 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2172, allocations: 4 kB / 0.5166 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001463/0.2187, allocations: 0.8816 MB / 0.5175 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2187, allocations: 8 kB / 0.5175 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.2187, allocations: 4 kB / 0.5175 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.2194, allocations: 223.4 kB / 0.5177 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.2199, allocations: 143.8 kB / 0.5179 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/0.2256, allocations: 6.706 MB / 0.5244 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.2262, allocations: 95.41 kB / 0.5245 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.2263, allocations: 36 kB / 0.5245 GB, free: 4.105 MB / 414.1 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.0003922/0.2267, allocations: 222.8 kB / 0.5248 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.2269, allocations: 47.72 kB / 0.5248 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.2281, allocations: 0.6871 MB / 0.5255 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2282, allocations: 8 kB / 0.5255 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.2282, allocations: 4 kB / 0.5255 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.2282, allocations: 7.984 kB / 0.5255 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.2307, allocations: 1.562 MB / 0.527 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.2308, allocations: 3.984 kB / 0.527 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.231, allocations: 71.91 kB / 0.5271 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/0.2316, allocations: 215.2 kB / 0.5273 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.2316, allocations: 12 kB / 0.5273 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2886/0.5202, allocations: 6.691 MB / 0.5338 GB, free: 34.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5203, allocations: 5.797 kB / 0.5338 GB, free: 34.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.5221, allocations: 1.186 MB / 0.535 GB, free: 33.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.5222, allocations: 128.7 kB / 0.5351 GB, free: 33.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.5223, allocations: 18.42 kB / 0.5351 GB, free: 33.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.5226, allocations: 15.41 kB / 0.5352 GB, free: 33.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.5228, allocations: 60.41 kB / 0.5352 GB, free: 33.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.5229, allocations: 19.92 kB / 0.5352 GB, free: 33.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.5232, allocations: 212.1 kB / 0.5354 GB, free: 33.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5232, allocations: 0 / 0.5354 GB, free: 33.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001753/0.525, allocations: 275.6 kB / 0.5357 GB, free: 33.64 MB / 414.1 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.0003836/0.5254, allocations: 139.1 kB / 0.5358 GB, free: 33.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.5274, allocations: 1.08 MB / 0.5369 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5275, allocations: 0 / 0.5369 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.5284, allocations: 0.7775 MB / 0.5376 GB, free: 32.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.5291, allocations: 56.41 kB / 0.5377 GB, free: 32.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.5317, allocations: 1.244 MB / 0.5389 GB, free: 32.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.5325, allocations: 0.9088 MB / 0.5398 GB, free: 31.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.5327, allocations: 68.11 kB / 0.5399 GB, free: 31.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.5329, allocations: 36.09 kB / 0.5399 GB, free: 31.33 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5329, allocations: 0 / 0.5399 GB, free: 31.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01716/0.55, allocations: 6.806 MB / 0.5465 GB, free: 30.84 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches