Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.001606/0.001606, allocations: 116.3 kB / 18.45 MB, free: 4.613 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.001877/0.001878, allocations: 201 kB / 21.4 MB, free: 1.668 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.468/1.468, allocations: 227.4 MB / 251.7 MB, free: 292 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.2419/0.2419, allocations: 46.17 MB / 351.1 MB, free: 14.31 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 76.73 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 62.45 MB / 0.5397 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003021/0.1328, allocations: 1.731 MB / 0.5414 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.133, allocations: 79.67 kB / 0.5414 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1331, allocations: 0 / 0.5414 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.1331, allocations: 19.86 kB / 0.5414 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.1332, allocations: 19.78 kB / 0.5415 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.579e-05/0.1333, allocations: 23.97 kB / 0.5415 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1335, allocations: 115.6 kB / 0.5416 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1337, allocations: 47.95 kB / 0.5416 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.1337, allocations: 43.84 kB / 0.5417 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.1338, allocations: 55.77 kB / 0.5417 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1339, allocations: 8 kB / 0.5417 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.1339, allocations: 15.94 kB / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.1339, allocations: 23.92 kB / 0.5418 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.134, allocations: 47.8 kB / 0.5418 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1342, allocations: 119.5 kB / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1342, allocations: 8 kB / 0.542 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1342, allocations: 3.984 kB / 0.542 GB, free: 1.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1342, allocations: 0 / 0.542 GB, free: 1.914 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006647/0.1349, allocations: 411.1 kB / 0.5423 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1349, allocations: 12.03 kB / 0.5424 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1349, allocations: 12.89 kB / 0.5424 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1351, allocations: 184.2 kB / 0.5425 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1351, allocations: 4.375 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1352, allocations: 12.38 kB / 0.5426 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1355, allocations: 126.1 kB / 0.5427 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1355, allocations: 4.125 kB / 0.5427 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1355, allocations: 3.938 kB / 0.5427 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1355, allocations: 4 kB / 0.5427 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.1359, allocations: 111.8 kB / 0.5428 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.1366, allocations: 467.5 kB / 0.5432 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1369, allocations: 82.53 kB / 0.5433 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1372, allocations: 72.91 kB / 0.5434 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1372, allocations: 0 / 0.5434 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1372, allocations: 34.5 kB / 0.5434 GB, free: 236 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1372, allocations: 0 / 0.5434 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000831/0.1381, allocations: 267.6 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1381, allocations: 59.34 kB / 0.5437 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1382, allocations: 121.8 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1383, allocations: 29.7 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.1384, allocations: 108.1 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1384, allocations: 23.84 kB / 0.544 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1384, allocations: 17.72 kB / 0.544 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1386, allocations: 318.8 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1387, allocations: 36.03 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1389, allocations: 66.52 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.1392, allocations: 106.4 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1392, allocations: 3.938 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004101/0.1397, allocations: 142.4 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1397, allocations: 5.719 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1397, allocations: 7.938 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.1399, allocations: 24.91 kB / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.14, allocations: 15.98 kB / 0.5447 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1412, allocations: 1.407 MB / 0.5461 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.1413, allocations: 11.98 kB / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1413, allocations: 0 / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1414, allocations: 121.8 kB / 0.5462 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1414, allocations: 15.97 kB / 0.5462 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1415, allocations: 20.3 kB / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1415, allocations: 4.062 kB / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1415, allocations: 0 / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1415, allocations: 0 / 0.5463 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.1422, allocations: 424.2 kB / 0.5467 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1422, allocations: 0 / 0.5467 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.1423, allocations: 24 kB / 0.5467 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.1424, allocations: 16.86 kB / 0.5467 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1424, allocations: 4 kB / 0.5467 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.1434, allocations: 1.402 MB / 0.5481 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1434, allocations: 0 / 0.5481 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.1439, allocations: 245.1 kB / 0.5483 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1439, allocations: 85.06 kB / 0.5484 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.144, allocations: 4 kB / 0.5484 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1441, allocations: 11.98 kB / 0.5484 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1441, allocations: 7.984 kB / 0.5484 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1441, allocations: 0 / 0.5484 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.1442, allocations: 99.27 kB / 0.5485 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1442, allocations: 4 kB / 0.5485 GB, free: 10.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1445, allocations: 27.89 kB / 0.5485 GB, free: 10.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001273/0.1446, allocations: 95.39 kB / 0.5486 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.1452, allocations: 202.7 kB / 0.5488 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1452, allocations: 4 kB / 0.5488 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.1454, allocations: 170.6 kB / 0.549 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1458, allocations: 4.359 kB / 0.549 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1462, allocations: 216.9 kB / 0.5492 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1465, allocations: 0.7002 MB / 0.5499 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.1466, allocations: 3.75 kB / 0.5499 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1466, allocations: 15.38 kB / 0.5499 GB, free: 8.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1466, allocations: 0 / 0.5499 GB, free: 8.996 MB / 414.1 MB Notification: Performance of Templates: time 0.004063/0.1507, allocations: 1.12 MB / 0.551 GB, free: 7.879 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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: 4.89147977810353]