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.0009758/0.0009759, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1955/0.1955, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.000271, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002709/0.1119, allocations: 2.147 MB / 485.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1137, allocations: 1.059 MB / 486.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1138, allocations: 4 kB / 487 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1142, allocations: 115.6 kB / 487.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1146, allocations: 87.52 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.1155, allocations: 466.4 kB / 487.6 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.1159, allocations: 211 kB / 487.8 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009598/0.1169, allocations: 0.511 MB / 488.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1171, allocations: 79.66 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1172, allocations: 107.5 kB / 488.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1173, allocations: 12 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1176, allocations: 143.8 kB / 488.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1176, allocations: 39.83 kB / 488.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1177, allocations: 117.2 kB / 488.8 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.1181, allocations: 299.4 kB / 489.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1181, allocations: 0 / 489.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1181, allocations: 4 kB / 489.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1181, allocations: 0 / 489.1 MB, free: 14.7 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.001262/0.1194, allocations: 0.5852 MB / 489.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1194, allocations: 16.81 kB / 489.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.1198, allocations: 44.72 kB / 489.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.12, allocations: 196 kB / 489.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.12, allocations: 16.94 kB / 490 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.1201, allocations: 24.38 kB / 490 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.1207, allocations: 307.7 kB / 490.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1207, allocations: 3.906 kB / 490.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1208, allocations: 8 kB / 490.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1208, allocations: 4 kB / 490.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.1214, allocations: 253.5 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.1231, allocations: 1.013 MB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1238, allocations: 383.1 kB / 491.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.1242, allocations: 145.7 kB / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.1244, allocations: 166.2 kB / 492.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1244, allocations: 42.5 kB / 492.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.1244, allocations: 3.938 kB / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001223/0.1257, allocations: 0.5275 MB / 492.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.1257, allocations: 77.11 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1259, allocations: 141.8 kB / 493 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1259, allocations: 29.7 kB / 493.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.126, allocations: 152 kB / 493.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.1261, allocations: 59.11 kB / 493.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1261, allocations: 25.81 kB / 493.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1263, allocations: 326.8 kB / 493.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1265, allocations: 75.95 kB / 493.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1268, allocations: 133.8 kB / 493.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.1273, allocations: 236.2 kB / 494 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1273, allocations: 0 / 494 MB, free: 9.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006653/0.128, allocations: 298.9 kB / 494.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.128, allocations: 4 kB / 494.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.128, allocations: 4 kB / 494.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.1282, allocations: 53.62 kB / 494.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1284, allocations: 47.97 kB / 494.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.1304, allocations: 2.65 MB / 497.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1306, allocations: 35.77 kB / 497.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1306, allocations: 8 kB / 497.1 MB, free: 5.965 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.0001405/0.1307, allocations: 137.8 kB / 497.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.1308, allocations: 15.84 kB / 497.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.1315, allocations: 286.5 kB / 497.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1315, allocations: 4 kB / 497.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1315, allocations: 0 / 497.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1316, allocations: 7.922 kB / 497.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1327, allocations: 0.6654 MB / 498.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1327, allocations: 0 / 498.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1329, allocations: 43.97 kB / 498.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.133, allocations: 53.69 kB / 498.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1331, allocations: 8 kB / 498.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.1349, allocations: 2.639 MB / 0.4892 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1349, allocations: 4.031 kB / 0.4892 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.1358, allocations: 0.5473 MB / 0.4898 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1359, allocations: 100.9 kB / 0.4899 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1359, allocations: 8 kB / 0.4899 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1361, allocations: 19.92 kB / 0.4899 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.1362, allocations: 19.97 kB / 0.4899 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1362, allocations: 8 kB / 0.4899 GB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1363, allocations: 103.3 kB / 0.49 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1363, allocations: 8 kB / 0.49 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1367, allocations: 79.72 kB / 0.4901 GB, free: 0.8164 MB / 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.0001894/0.1369, allocations: 119.1 kB / 0.4902 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007284/0.1377, allocations: 440.5 kB / 0.4906 GB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1377, allocations: 0 / 0.4906 GB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.1381, allocations: 341.4 kB / 0.491 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1385, allocations: 11.94 kB / 0.491 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.1394, allocations: 0.6237 MB / 0.4916 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1398, allocations: 0.7437 MB / 0.4923 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.1398, allocations: 15.44 kB / 0.4923 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.195e-06/0.1398, allocations: 0 / 0.4923 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Templates: time 0.006281/0.1461, allocations: 4.263 MB / 0.4965 GB, free: 10.14 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 -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