Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009291/0.0009291, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 200.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 11.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002277, allocations: 8.375 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005498/0.1094, allocations: 4.838 MB / 488.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1122, allocations: 1.623 MB / 490.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.1127, allocations: 20 kB / 490.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.1134, allocations: 247 kB / 490.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008769/0.1143, allocations: 258.4 kB / 490.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1154, allocations: 498.8 kB / 491.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.1164, allocations: 0.7542 MB / 491.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.1189, allocations: 1.413 MB / 493.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.1194, allocations: 290.7 kB / 493.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.12, allocations: 414.2 kB / 494.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.1201, allocations: 40 kB / 494.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.1205, allocations: 155.9 kB / 494.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1206, allocations: 139.3 kB / 494.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.1211, allocations: 407.6 kB / 494.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.122, allocations: 0.896 MB / 495.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.122, allocations: 0 / 495.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.122, allocations: 3.984 kB / 495.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.122, allocations: 0 / 495.7 MB, free: 8.129 MB / 366.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.003154/0.1252, allocations: 1.213 MB / 496.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1253, allocations: 13.95 kB / 496.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.1269, allocations: 239.7 kB / 497.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1271, allocations: 255.2 kB / 497.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1273, allocations: 82.55 kB / 497.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.1274, allocations: 107.8 kB / 497.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.1292, allocations: 0.936 MB / 498.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.1293, allocations: 0 / 498.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.1294, allocations: 40 kB / 498.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.1294, allocations: 24 kB / 498.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1307, allocations: 0.7299 MB / 499.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/0.1356, allocations: 4.122 MB / 0.4916 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.1382, allocations: 3.364 MB / 0.4949 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.1386, allocations: 290.1 kB / 0.4952 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.1388, allocations: 190.4 kB / 0.4954 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1388, allocations: 38.89 kB / 0.4954 GB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.266e-06/0.1389, allocations: 0 / 0.4954 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002696/0.1416, allocations: 1.358 MB / 0.4967 GB, free: 9.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.1416, allocations: 136.5 kB / 0.4969 GB, free: 9.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.142, allocations: 314.8 kB / 0.4972 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1421, allocations: 41.7 kB / 0.4972 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.1423, allocations: 398.4 kB / 0.4976 GB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1425, allocations: 232.6 kB / 0.4978 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.1426, allocations: 69.67 kB / 0.4979 GB, free: 8.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1428, allocations: 354.7 kB / 0.4982 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1431, allocations: 197.9 kB / 0.4984 GB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.1436, allocations: 400.7 kB / 0.4988 GB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.1444, allocations: 0.6301 MB / 0.4994 GB, free: 6.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1444, allocations: 4 kB / 0.4994 GB, free: 6.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001447/0.1459, allocations: 0.8819 MB / 0.5003 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1459, allocations: 14.02 kB / 0.5003 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1459, allocations: 8 kB / 0.5003 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.1466, allocations: 215.4 kB / 0.5005 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.1471, allocations: 143.8 kB / 0.5006 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2133/0.3603, allocations: 6.24 MB / 0.5067 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.361, allocations: 90.06 kB / 0.5068 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.361, allocations: 33.55 kB / 0.5068 GB, free: 30.86 MB / 382.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.0003027/0.3614, allocations: 221 kB / 0.507 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3615, allocations: 51.17 kB / 0.5071 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3627, allocations: 0.6763 MB / 0.5078 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3628, allocations: 15.67 kB / 0.5078 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3628, allocations: 5.469 kB / 0.5078 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.3628, allocations: 4.531 kB / 0.5078 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.3652, allocations: 1.571 MB / 0.5093 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3652, allocations: 0 / 0.5093 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3654, allocations: 69.47 kB / 0.5094 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/0.3659, allocations: 215 kB / 0.5096 GB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.366, allocations: 13.77 kB / 0.5096 GB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.37, allocations: 6.231 MB / 0.5157 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.37, allocations: 2.141 kB / 0.5157 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.3714, allocations: 1.188 MB / 0.5168 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3715, allocations: 124.7 kB / 0.517 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.3716, allocations: 16.22 kB / 0.517 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.3719, allocations: 16.45 kB / 0.517 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.372, allocations: 62.7 kB / 0.5171 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.3721, allocations: 18.72 kB / 0.5171 GB, free: 24.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.3723, allocations: 213.9 kB / 0.5173 GB, free: 24.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3723, allocations: 0 / 0.5173 GB, free: 24.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009701/0.3733, allocations: 277.5 kB / 0.5175 GB, free: 24.44 MB / 382.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.0002097/0.3735, allocations: 142 kB / 0.5177 GB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3749, allocations: 1.081 MB / 0.5187 GB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3749, allocations: 0 / 0.5187 GB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.3757, allocations: 0.7891 MB / 0.5195 GB, free: 23.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.3763, allocations: 45.88 kB / 0.5195 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3784, allocations: 1.684 MB / 0.5212 GB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.3789, allocations: 0.9134 MB / 0.5221 GB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.379, allocations: 46.44 kB / 0.5221 GB, free: 21.56 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.379, allocations: 0 / 0.5221 GB, free: 21.56 MB / 382.1 MB Notification: Performance of Templates: time 0.0196/0.3986, allocations: 19.32 MB / 0.541 GB, free: 12.8 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches