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.001336/0.001337, allocations: 108.7 kB / 17.04 MB, free: 6.027 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.001278/0.001278, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.785/1.785, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2166/0.2166, allocations: 43.52 MB / 314.7 MB, free: 476 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.002136/0.002136, allocations: 66.2 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1417, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006015/0.1478, allocations: 5.274 MB / 447.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1513, allocations: 1.612 MB / 448.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000997/0.1523, allocations: 20 kB / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004991/0.1574, allocations: 1.59 MB / 450.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1597, allocations: 309.6 kB / 450.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.162, allocations: 0.6736 MB / 451.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.164, allocations: 0.8163 MB / 452.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.1663, allocations: 0.7289 MB / 453 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009028/0.1672, allocations: 338.7 kB / 453.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.168, allocations: 454.2 kB / 453.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.1682, allocations: 76 kB / 453.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.1689, allocations: 195.8 kB / 454 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.1691, allocations: 183.3 kB / 454.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005617/0.1697, allocations: 426 kB / 454.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.1714, allocations: 1.152 MB / 455.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1714, allocations: 0 / 455.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1714, allocations: 0 / 455.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1714, allocations: 0 / 455.8 MB, free: 8.27 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.005024/0.1765, allocations: 1.346 MB / 457.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1765, allocations: 15.89 kB / 457.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.179, allocations: 223.7 kB / 457.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1793, allocations: 263.7 kB / 457.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.1795, allocations: 74.38 kB / 457.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.1797, allocations: 100.1 kB / 457.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.1818, allocations: 0.9322 MB / 458.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.1819, allocations: 3.906 kB / 458.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.182, allocations: 40 kB / 458.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.182, allocations: 24 kB / 458.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.1838, allocations: 0.7223 MB / 459.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006867/0.1907, allocations: 3.905 MB / 463.4 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.1948, allocations: 3.388 MB / 466.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.1954, allocations: 294.5 kB / 467.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1956, allocations: 93.42 kB / 467.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1957, allocations: 42.83 kB / 467.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.476e-06/0.1957, allocations: 0 / 467.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.003334/0.199, allocations: 1.332 MB / 468.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.1991, allocations: 140.6 kB / 468.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.1996, allocations: 314.8 kB / 469 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1996, allocations: 33.7 kB / 469 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.1999, allocations: 398.4 kB / 469.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.2001, allocations: 228.7 kB / 469.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.2003, allocations: 150.5 kB / 469.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2005, allocations: 346.8 kB / 470.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.2008, allocations: 209.8 kB / 470.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.2013, allocations: 396.6 kB / 470.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.2022, allocations: 0.6231 MB / 471.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2022, allocations: 0 / 471.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00151/0.2037, allocations: 0.8812 MB / 472.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.2038, allocations: 8 kB / 472.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.2038, allocations: 11.98 kB / 472.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.2045, allocations: 223.6 kB / 472.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.2049, allocations: 135.8 kB / 472.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.2106, allocations: 6.701 MB / 479.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.2111, allocations: 87.23 kB / 479.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.2112, allocations: 32 kB / 479.4 MB, free: 14.6 MB / 366.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.0003926/0.2116, allocations: 230.9 kB / 479.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.2118, allocations: 39.53 kB / 479.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2131, allocations: 0.6948 MB / 480.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2131, allocations: 8 kB / 480.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.2132, allocations: 8 kB / 480.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.2132, allocations: 3.984 kB / 480.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.2158, allocations: 1.566 MB / 482 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2158, allocations: 4 kB / 482 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.216, allocations: 71.86 kB / 482 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/0.2166, allocations: 215.5 kB / 482.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.2166, allocations: 19.98 kB / 482.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.2224, allocations: 6.682 MB / 488.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2224, allocations: 4 kB / 489 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.224, allocations: 1.191 MB / 490.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.2242, allocations: 128.4 kB / 490.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.2243, allocations: 12 kB / 490.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.2246, allocations: 15.98 kB / 490.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2247, allocations: 63.75 kB / 490.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.2248, allocations: 24.05 kB / 490.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003088/0.2251, allocations: 210 kB / 490.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2251, allocations: 0 / 490.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001246/0.2263, allocations: 267.2 kB / 490.8 MB, free: 2.441 MB / 366.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.0003754/0.2267, allocations: 131.2 kB / 491 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.2285, allocations: 1.084 MB / 492.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2285, allocations: 0 / 492.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.2294, allocations: 0.7804 MB / 492.8 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.23, allocations: 40.73 kB / 492.9 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2324, allocations: 1.229 MB / 494.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.233, allocations: 0.9111 MB / 495 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.2333, allocations: 68.53 kB / 495.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.2334, allocations: 39.42 kB / 495.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2334, allocations: 0 / 495.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01372/0.2471, allocations: 6.624 MB / 0.49 GB, free: 7.371 MB / 382.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/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