Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 115.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 205 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.228/0.228, allocations: 46.93 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 79.88 kB / 0.4925 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1233, allocations: 66 MB / 0.5569 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004234/0.1275, allocations: 2.497 MB / 0.5594 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1295, allocations: 1.113 MB / 0.5605 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.1297, allocations: 8 kB / 0.5605 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.1311, allocations: 0.494 MB / 0.561 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1314, allocations: 111.2 kB / 0.5611 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.1324, allocations: 489.3 kB / 0.5615 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.1327, allocations: 231 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.1331, allocations: 202.3 kB / 0.5619 GB, free: 380 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1333, allocations: 99.7 kB / 0.562 GB, free: 280 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1334, allocations: 127.5 kB / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.1335, allocations: 24 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1338, allocations: 155.9 kB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1338, allocations: 43.86 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.134, allocations: 119.3 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.1345, allocations: 406.5 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1345, allocations: 4 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1345, allocations: 4 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1345, allocations: 0 / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001407/0.136, allocations: 0.6159 MB / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.136, allocations: 9.109 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.1363, allocations: 56.75 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1365, allocations: 204 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1365, allocations: 16.94 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1366, allocations: 24.38 kB / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.1372, allocations: 291.7 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1372, allocations: 4 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1372, allocations: 8 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1372, allocations: 8 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.1378, allocations: 229.6 kB / 0.5643 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1395, allocations: 0.9977 MB / 0.5653 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.14, allocations: 363.2 kB / 0.5656 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.1404, allocations: 131.6 kB / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.1406, allocations: 174.1 kB / 0.5659 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1406, allocations: 30.56 kB / 0.5659 GB, free: 12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.1406, allocations: 0 / 0.5659 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001307/0.1419, allocations: 0.4975 MB / 0.5664 GB, free: 11.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.142, allocations: 77.11 kB / 0.5665 GB, free: 11.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1421, allocations: 144.1 kB / 0.5666 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1421, allocations: 33.7 kB / 0.5667 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1422, allocations: 140.4 kB / 0.5668 GB, free: 11.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.1423, allocations: 79.3 kB / 0.5669 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.1424, allocations: 37.7 kB / 0.5669 GB, free: 10.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1425, allocations: 326.8 kB / 0.5672 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.1428, allocations: 68.06 kB / 0.5673 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.143, allocations: 129.8 kB / 0.5674 GB, free: 10.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.1435, allocations: 199.8 kB / 0.5676 GB, free: 10.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1435, allocations: 0 / 0.5676 GB, free: 10.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006774/0.1442, allocations: 278.9 kB / 0.5679 GB, free: 9.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1442, allocations: 8 kB / 0.5679 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1442, allocations: 0 / 0.5679 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.1444, allocations: 53.88 kB / 0.5679 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1446, allocations: 47.91 kB / 0.568 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.147, allocations: 2.832 MB / 0.5707 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.1471, allocations: 39.97 kB / 0.5708 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1472, allocations: 8 kB / 0.5708 GB, free: 6.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.1473, allocations: 133.8 kB / 0.5709 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.1474, allocations: 16.08 kB / 0.5709 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.148, allocations: 274.1 kB / 0.5712 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.148, allocations: 4 kB / 0.5712 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1481, allocations: 0 / 0.5712 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1481, allocations: 3.984 kB / 0.5712 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1492, allocations: 0.6501 MB / 0.5718 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1493, allocations: 3.938 kB / 0.5718 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1494, allocations: 31.97 kB / 0.5719 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.1496, allocations: 49.77 kB / 0.5719 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1496, allocations: 4 kB / 0.5719 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.1523, allocations: 2.852 MB / 0.5747 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.1523, allocations: 3.984 kB / 0.5747 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.1532, allocations: 0.522 MB / 0.5752 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.1533, allocations: 89.09 kB / 0.5753 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1533, allocations: 4 kB / 0.5753 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1535, allocations: 15.98 kB / 0.5753 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.1536, allocations: 19.91 kB / 0.5753 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1536, allocations: 16.06 kB / 0.5754 GB, free: 1.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.1537, allocations: 107.2 kB / 0.5755 GB, free: 1.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1537, allocations: 0 / 0.5755 GB, free: 1.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.1542, allocations: 79.77 kB / 0.5755 GB, free: 1.305 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002451/0.1545, allocations: 127.3 kB / 0.5757 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008268/0.1553, allocations: 409 kB / 0.576 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1553, allocations: 4.375 kB / 0.5761 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.1558, allocations: 317.2 kB / 0.5764 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.1564, allocations: 22.78 kB / 0.5764 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1574, allocations: 491.6 kB / 0.5768 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.1579, allocations: 0.7361 MB / 0.5776 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.1579, allocations: 27.38 kB / 0.5776 GB, free: 15.08 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1579, allocations: 0 / 0.5776 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Templates: time 0.008008/0.1659, allocations: 4.374 MB / 0.5819 GB, free: 10.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 8.17515889799688]