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) 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.1 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 76.06 kB / 417.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 62.44 MB / 479.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00303/0.1286, allocations: 1.793 MB / 481.7 MB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.1288, allocations: 79.72 kB / 481.8 MB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.1288, allocations: 4 kB / 481.8 MB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.1289, allocations: 11.86 kB / 481.8 MB, free: 7.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.129, allocations: 15.86 kB / 481.8 MB, free: 7.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.48e-05/0.1291, allocations: 27.97 kB / 481.9 MB, free: 7.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1292, allocations: 95.66 kB / 482 MB, free: 7.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1294, allocations: 51.94 kB / 482 MB, free: 6.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.1295, allocations: 43.84 kB / 482 MB, free: 6.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1296, allocations: 51.77 kB / 482.1 MB, free: 6.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1296, allocations: 11.94 kB / 482.1 MB, free: 6.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.1296, allocations: 8 kB / 482.1 MB, free: 6.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.1297, allocations: 19.92 kB / 482.1 MB, free: 6.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.1297, allocations: 43.8 kB / 482.2 MB, free: 6.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1299, allocations: 88.05 kB / 482.3 MB, free: 6.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1299, allocations: 4 kB / 482.3 MB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1299, allocations: 0 / 482.3 MB, free: 6.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1299, allocations: 0 / 482.3 MB, free: 6.727 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.0006801/0.1306, allocations: 419.1 kB / 482.7 MB, free: 6.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1306, allocations: 16.81 kB / 482.7 MB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.1307, allocations: 8.844 kB / 482.7 MB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1308, allocations: 172.2 kB / 482.9 MB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1308, allocations: 16.31 kB / 482.9 MB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1309, allocations: 12.38 kB / 482.9 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1312, allocations: 121.4 kB / 483 MB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1312, allocations: 192 / 483 MB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1313, allocations: 7.938 kB / 483 MB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1313, allocations: 4 kB / 483 MB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.1316, allocations: 107.9 kB / 483.1 MB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.1324, allocations: 475.2 kB / 483.6 MB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1327, allocations: 86.47 kB / 483.7 MB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1329, allocations: 60.94 kB / 483.7 MB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1329, allocations: 7.938 kB / 483.8 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.133, allocations: 38.55 kB / 483.8 MB, free: 5.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.133, allocations: 0 / 483.8 MB, free: 5.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008081/0.1338, allocations: 271.3 kB / 484.1 MB, free: 4.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1338, allocations: 51.41 kB / 484.1 MB, free: 4.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.134, allocations: 117.8 kB / 484.2 MB, free: 4.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.134, allocations: 25.7 kB / 484.2 MB, free: 4.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1341, allocations: 112.1 kB / 484.4 MB, free: 4.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1341, allocations: 19.7 kB / 484.4 MB, free: 4.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1341, allocations: 17.72 kB / 484.4 MB, free: 4.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1342, allocations: 318.8 kB / 484.7 MB, free: 4.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1344, allocations: 39.95 kB / 484.7 MB, free: 4.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1346, allocations: 58.53 kB / 484.8 MB, free: 3.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1349, allocations: 94.45 kB / 484.9 MB, free: 3.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1349, allocations: 11.92 kB / 484.9 MB, free: 3.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004007/0.1353, allocations: 146.3 kB / 485 MB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1353, allocations: 4 kB / 485 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1353, allocations: 320 / 485 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.1355, allocations: 24.83 kB / 485.1 MB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1356, allocations: 23.92 kB / 485.1 MB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.1367, allocations: 1.316 MB / 486.4 MB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.1368, allocations: 11.98 kB / 486.4 MB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1368, allocations: 0 / 486.4 MB, free: 2.16 MB / 398.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 9.96e-05/0.1369, allocations: 117.8 kB / 486.5 MB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1369, allocations: 11.97 kB / 486.6 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.137, allocations: 12.38 kB / 486.6 MB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.137, allocations: 3.938 kB / 486.6 MB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.137, allocations: 3.984 kB / 486.6 MB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.137, allocations: 0 / 486.6 MB, free: 2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.1376, allocations: 428.1 kB / 487 MB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.1376, allocations: 0 / 487 MB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.1377, allocations: 15.98 kB / 487 MB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.1378, allocations: 20.84 kB / 487 MB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1378, allocations: 4 kB / 487 MB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.1387, allocations: 1.304 MB / 488.3 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1387, allocations: 7.938 kB / 488.3 MB, free: 32 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.1392, allocations: 241.2 kB / 488.6 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1393, allocations: 81.02 kB / 488.7 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1393, allocations: 7.938 kB / 488.7 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1394, allocations: 7.984 kB / 488.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1394, allocations: 7.984 kB / 488.7 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1395, allocations: 8 kB / 488.7 MB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.785e-05/0.1395, allocations: 103.6 kB / 488.8 MB, free: 15.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1395, allocations: 0 / 488.8 MB, free: 15.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1398, allocations: 27.91 kB / 488.8 MB, free: 15.52 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.0001176/0.1399, allocations: 102.3 kB / 488.9 MB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.1404, allocations: 202.7 kB / 489.1 MB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1404, allocations: 4 kB / 489.1 MB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.1407, allocations: 158.6 kB / 489.3 MB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.141, allocations: 4 kB / 489.3 MB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1415, allocations: 285.6 kB / 489.6 MB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1418, allocations: 0.7004 MB / 490.3 MB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.1418, allocations: 11.44 kB / 490.3 MB, free: 13.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1418, allocations: 0 / 490.3 MB, free: 13.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003093/0.1449, allocations: 1.589 MB / 491.9 MB, free: 12.38 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches