Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001315/0.001315, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.001389/0.001389, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.476/1.476, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.18 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.00234, allocations: 80.44 kB / 490.8 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1315, allocations: 62.46 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004221/0.1358, allocations: 2.488 MB / 0.5428 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1378, allocations: 1.094 MB / 0.5438 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1379, allocations: 8 kB / 0.5438 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1393, allocations: 0.4939 MB / 0.5443 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1396, allocations: 111.2 kB / 0.5444 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.1406, allocations: 490.1 kB / 0.5449 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1409, allocations: 219 kB / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.1414, allocations: 258.2 kB / 0.5454 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1416, allocations: 99.64 kB / 0.5454 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1418, allocations: 131.5 kB / 0.5456 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1418, allocations: 24 kB / 0.5456 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1422, allocations: 151.9 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1422, allocations: 59.77 kB / 0.5458 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1424, allocations: 107.5 kB / 0.5459 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.1429, allocations: 402.6 kB / 0.5463 GB, free: 14.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1429, allocations: 3.984 kB / 0.5463 GB, free: 14.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1429, allocations: 0 / 0.5463 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1429, allocations: 0 / 0.5463 GB, free: 14.15 MB / 414.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.001367/0.1443, allocations: 0.6275 MB / 0.5469 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1444, allocations: 8.031 kB / 0.5469 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.1447, allocations: 52.7 kB / 0.547 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1449, allocations: 196 kB / 0.5471 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1449, allocations: 16.94 kB / 0.5472 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.145, allocations: 24.38 kB / 0.5472 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.1456, allocations: 299.7 kB / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1456, allocations: 4 kB / 0.5475 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1457, allocations: 4 kB / 0.5475 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1457, allocations: 8 kB / 0.5475 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.1463, allocations: 233.5 kB / 0.5477 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.1479, allocations: 0.9977 MB / 0.5487 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.1484, allocations: 379.2 kB / 0.549 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.1488, allocations: 137.7 kB / 0.5492 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.149, allocations: 170.1 kB / 0.5493 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.1491, allocations: 38.56 kB / 0.5494 GB, free: 10.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.1491, allocations: 0 / 0.5494 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001314/0.1504, allocations: 0.4955 MB / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.1505, allocations: 81.11 kB / 0.5499 GB, free: 10.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1507, allocations: 143.6 kB / 0.5501 GB, free: 9.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1507, allocations: 25.7 kB / 0.5501 GB, free: 9.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1508, allocations: 152.3 kB / 0.5502 GB, free: 9.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.1509, allocations: 71.38 kB / 0.5503 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.1509, allocations: 33.72 kB / 0.5503 GB, free: 9.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1511, allocations: 330.9 kB / 0.5507 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1514, allocations: 67.94 kB / 0.5507 GB, free: 9.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1516, allocations: 118 kB / 0.5508 GB, free: 9.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.1521, allocations: 211.4 kB / 0.551 GB, free: 8.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1521, allocations: 0 / 0.551 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007024/0.1528, allocations: 284.7 kB / 0.5513 GB, free: 8.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1529, allocations: 8 kB / 0.5513 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1529, allocations: 4.094 kB / 0.5513 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.1531, allocations: 53.62 kB / 0.5514 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1533, allocations: 35.97 kB / 0.5514 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.1557, allocations: 2.848 MB / 0.5542 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1559, allocations: 31.86 kB / 0.5542 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1559, allocations: 8 kB / 0.5542 GB, free: 5.297 MB / 414.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.0001681/0.1561, allocations: 148.6 kB / 0.5544 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1562, allocations: 15.94 kB / 0.5544 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.1569, allocations: 268.2 kB / 0.5546 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.1569, allocations: 7.938 kB / 0.5546 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1569, allocations: 0 / 0.5546 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1569, allocations: 0 / 0.5546 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1581, allocations: 0.65 MB / 0.5553 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1581, allocations: 7.938 kB / 0.5553 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1583, allocations: 35.91 kB / 0.5553 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.1585, allocations: 49.69 kB / 0.5554 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1585, allocations: 4 kB / 0.5554 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.1607, allocations: 2.84 MB / 0.5581 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1607, allocations: 0 / 0.5581 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009547/0.1616, allocations: 0.5179 MB / 0.5587 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1617, allocations: 93.02 kB / 0.5587 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1617, allocations: 8.062 kB / 0.5587 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1619, allocations: 15.98 kB / 0.5588 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.162, allocations: 23.91 kB / 0.5588 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.162, allocations: 4 kB / 0.5588 GB, free: 200 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.1621, allocations: 108.7 kB / 0.5589 GB, free: 92 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1621, allocations: 4 kB / 0.5589 GB, free: 88 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.1626, allocations: 75.78 kB / 0.559 GB, free: 12 kB / 414.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.0002388/0.1628, allocations: 127.3 kB / 0.5591 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.1636, allocations: 430.7 kB / 0.5595 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1637, allocations: 0 / 0.5595 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.1641, allocations: 325.8 kB / 0.5598 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1645, allocations: 12.06 kB / 0.5598 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.1654, allocations: 0.4939 MB / 0.5603 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1658, allocations: 0.7361 MB / 0.561 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.1659, allocations: 19.44 kB / 0.561 GB, free: 13.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1659, allocations: 4 kB / 0.561 GB, free: 13.76 MB / 430.1 MB Notification: Performance of Templates: time 0.00688/0.1728, allocations: 4.307 MB / 0.5653 GB, free: 9.449 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.119047453044914]