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.001511/0.001517, allocations: 113.7 kB / 17.04 MB, free: 5.812 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.00136/0.00136, allocations: 195 kB / 17.98 MB, free: 5.027 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.412/1.412, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2304/0.2304, allocations: 43.51 MB / 314.7 MB, free: 496 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.002306/0.002306, allocations: 67.03 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09111, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005142/0.09631, allocations: 5.27 MB / 447.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.09902, allocations: 1.62 MB / 448.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.0997, allocations: 16 kB / 448.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.1033, allocations: 1.594 MB / 450.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1044, allocations: 309.6 kB / 450.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1058, allocations: 0.6807 MB / 451.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.1069, allocations: 0.8047 MB / 452.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.1078, allocations: 0.7367 MB / 453 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.1082, allocations: 330.8 kB / 453.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.1087, allocations: 466.2 kB / 453.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.1088, allocations: 76 kB / 453.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.1092, allocations: 187.8 kB / 454 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1094, allocations: 179.3 kB / 454.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.1097, allocations: 421.9 kB / 454.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1108, allocations: 1.156 MB / 455.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1108, allocations: 3.938 kB / 455.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1108, allocations: 4 kB / 455.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1109, allocations: 0 / 455.8 MB, free: 8.289 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.003098/0.114, allocations: 1.346 MB / 457.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.114, allocations: 11.89 kB / 457.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.1154, allocations: 227.7 kB / 457.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1156, allocations: 263.8 kB / 457.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.1157, allocations: 74.38 kB / 457.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1158, allocations: 104.1 kB / 457.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1172, allocations: 0.9243 MB / 458.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.1173, allocations: 11.84 kB / 458.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.1173, allocations: 40 kB / 458.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1174, allocations: 27.98 kB / 458.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.1185, allocations: 0.7145 MB / 459.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.1231, allocations: 3.905 MB / 463.4 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.1255, allocations: 3.38 MB / 466.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.1259, allocations: 290.5 kB / 467.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.1261, allocations: 101.4 kB / 467.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.1261, allocations: 42.83 kB / 467.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.1261, allocations: 0 / 467.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002499/0.1286, allocations: 1.332 MB / 468.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/0.1287, allocations: 136.5 kB / 468.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.1291, allocations: 310.8 kB / 469 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1291, allocations: 41.7 kB / 469 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1293, allocations: 398.3 kB / 469.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1295, allocations: 224.8 kB / 469.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.1297, allocations: 150.5 kB / 469.8 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1298, allocations: 354.8 kB / 470.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.1302, allocations: 197.9 kB / 470.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.1306, allocations: 400.6 kB / 470.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.1314, allocations: 0.6192 MB / 471.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1314, allocations: 4 kB / 471.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001378/0.1328, allocations: 0.8771 MB / 472.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1328, allocations: 8.5 kB / 472.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1329, allocations: 8 kB / 472.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.1335, allocations: 227.2 kB / 472.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.1339, allocations: 143.8 kB / 472.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.1393, allocations: 6.697 MB / 479.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.1398, allocations: 79.12 kB / 479.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.1399, allocations: 36 kB / 479.4 MB, free: 14.62 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.0003138/0.1402, allocations: 232 kB / 479.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1403, allocations: 43.53 kB / 479.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.1415, allocations: 0.6948 MB / 480.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1416, allocations: 8 kB / 480.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1416, allocations: 4 kB / 480.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1416, allocations: 7.984 kB / 480.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.1439, allocations: 1.562 MB / 482 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1439, allocations: 3.938 kB / 482 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.1441, allocations: 75.91 kB / 482 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.1447, allocations: 211.4 kB / 482.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1447, allocations: 15.94 kB / 482.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.1499, allocations: 6.69 MB / 488.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1499, allocations: 12.02 kB / 489 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.1513, allocations: 1.183 MB / 490.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1515, allocations: 132.4 kB / 490.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.1515, allocations: 12 kB / 490.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.1519, allocations: 12.06 kB / 490.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.152, allocations: 63.8 kB / 490.4 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.152, allocations: 20 kB / 490.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.1523, allocations: 206 kB / 490.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1523, allocations: 0 / 490.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001032/0.1533, allocations: 279.2 kB / 490.8 MB, free: 2.461 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.000239/0.1536, allocations: 135.1 kB / 491 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.1551, allocations: 1.084 MB / 492.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1551, allocations: 256 / 492.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.1559, allocations: 0.7833 MB / 492.8 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1566, allocations: 36.56 kB / 492.9 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1588, allocations: 1.225 MB / 494.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.1593, allocations: 0.915 MB / 495 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1596, allocations: 64.53 kB / 495.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.1597, allocations: 39.42 kB / 495.1 MB, free: 14 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1597, allocations: 4 kB / 495.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01235/0.172, allocations: 6.619 MB / 0.49 GB, free: 7.391 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 gbode -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