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) 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 114.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 212.5 kB / 19.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 79.47 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003577/0.1256, allocations: 2.486 MB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1272, allocations: 1.09 MB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.1273, allocations: 8 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.1284, allocations: 497.9 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1287, allocations: 119.2 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.1296, allocations: 481.3 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1298, allocations: 219 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.1302, allocations: 262.5 kB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1304, allocations: 99.64 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1306, allocations: 131.5 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1306, allocations: 20 kB / 486.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1309, allocations: 155.8 kB / 487 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.131, allocations: 47.83 kB / 487 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.834e-05/0.1311, allocations: 115.5 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1315, allocations: 406.7 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1315, allocations: 0 / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1315, allocations: 0 / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1315, allocations: 0 / 487.5 MB, free: 14.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00119/0.1327, allocations: 0.6086 MB / 488.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1328, allocations: 15.97 kB / 488.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.1331, allocations: 56.61 kB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1333, allocations: 188 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1333, allocations: 16.94 kB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.1333, allocations: 24.38 kB / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.1339, allocations: 295.7 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1339, allocations: 4 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1339, allocations: 8 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.134, allocations: 8 kB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.1345, allocations: 225.6 kB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1358, allocations: 0.9934 MB / 490 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.1363, allocations: 395.1 kB / 490.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.1366, allocations: 129.7 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.1368, allocations: 178.2 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1369, allocations: 30.56 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1369, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001074/0.1379, allocations: 0.4997 MB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.138, allocations: 85.02 kB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1382, allocations: 140.3 kB / 491.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1382, allocations: 25.7 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.1383, allocations: 144.2 kB / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.1383, allocations: 74.94 kB / 491.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.1384, allocations: 37.72 kB / 491.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1385, allocations: 318.8 kB / 492 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1387, allocations: 75.94 kB / 492.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.139, allocations: 121.8 kB / 492.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.1394, allocations: 201.8 kB / 492.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1394, allocations: 0 / 492.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005738/0.14, allocations: 285.5 kB / 492.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.14, allocations: 8 kB / 492.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.14, allocations: 0 / 492.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.1402, allocations: 49.69 kB / 492.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1404, allocations: 48.09 kB / 492.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.1423, allocations: 2.837 MB / 495.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1425, allocations: 27.83 kB / 495.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1425, allocations: 12 kB / 495.6 MB, free: 5.613 MB / 366.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.0001506/0.1427, allocations: 141.3 kB / 495.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.1427, allocations: 11.81 kB / 495.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.1433, allocations: 272.2 kB / 496.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1434, allocations: 4.141 kB / 496.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1434, allocations: 112 / 496.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1434, allocations: 7.922 kB / 496.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1445, allocations: 0.6461 MB / 496.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.1445, allocations: 7.938 kB / 496.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1447, allocations: 31.92 kB / 496.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.1448, allocations: 45.69 kB / 496.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.1449, allocations: 12.06 kB / 496.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.1469, allocations: 2.836 MB / 499.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1469, allocations: 4.031 kB / 499.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.1477, allocations: 0.5209 MB / 0.4884 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1478, allocations: 96.88 kB / 0.4885 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1478, allocations: 8 kB / 0.4885 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.148, allocations: 15.98 kB / 0.4886 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.1481, allocations: 27.84 kB / 0.4886 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1481, allocations: 4 kB / 0.4886 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.1481, allocations: 105.3 kB / 0.4887 GB, free: 420 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1482, allocations: 4.062 kB / 0.4887 GB, free: 416 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.1486, allocations: 71.78 kB / 0.4888 GB, free: 344 kB / 366.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.000213/0.1488, allocations: 123.2 kB / 0.4889 GB, free: 212 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000724/0.1495, allocations: 413.1 kB / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1495, allocations: 0 / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.1499, allocations: 329.8 kB / 0.4896 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1504, allocations: 18.53 kB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.1512, allocations: 478.4 kB / 0.4901 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1516, allocations: 0.7359 MB / 0.4908 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.1517, allocations: 17.42 kB / 0.4908 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1517, allocations: 11.44 kB / 0.4908 GB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1517, allocations: 4 kB / 0.4908 GB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.005914/0.1577, allocations: 2.355 MB / 0.4931 GB, free: 11.77 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches