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.001586/0.001586, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 79.02 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1255, allocations: 62.45 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002926/0.1285, allocations: 1.732 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.1287, allocations: 87.66 kB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.1288, allocations: 4 kB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.1288, allocations: 11.86 kB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.1289, allocations: 23.78 kB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.129, allocations: 23.97 kB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1292, allocations: 111.6 kB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1294, allocations: 51.95 kB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.1294, allocations: 43.84 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.1295, allocations: 51.77 kB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1295, allocations: 12 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.1296, allocations: 12 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.1296, allocations: 23.92 kB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1297, allocations: 47.8 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1298, allocations: 119.9 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1298, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1298, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1298, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.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.0005707/0.1304, allocations: 423.1 kB / 482.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1304, allocations: 8.031 kB / 482.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.1305, allocations: 8.844 kB / 482.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1306, allocations: 180.2 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1306, allocations: 4.375 kB / 483 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1307, allocations: 12.38 kB / 483 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.131, allocations: 123.5 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.131, allocations: 4.188 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.131, allocations: 3.938 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.131, allocations: 0 / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.1314, allocations: 111.9 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.132, allocations: 487.2 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1323, allocations: 78.53 kB / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1325, allocations: 68.88 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1326, allocations: 7.938 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1326, allocations: 30.56 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.1326, allocations: 0 / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008053/0.1334, allocations: 271.3 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1334, allocations: 55.41 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.1335, allocations: 121.8 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1336, allocations: 29.7 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1336, allocations: 104.1 kB / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1337, allocations: 15.81 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1337, allocations: 21.72 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1338, allocations: 318.8 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.134, allocations: 31.97 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1341, allocations: 62.47 kB / 484.9 MB, free: 96 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.1344, allocations: 102.8 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1345, allocations: 3.938 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004068/0.1349, allocations: 150.2 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1349, allocations: 6.344 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1349, allocations: 4 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.1351, allocations: 24.83 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1352, allocations: 19.97 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009345/0.1361, allocations: 1.407 MB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1363, allocations: 16.05 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1363, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.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 8.518e-05/0.1364, allocations: 113.8 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1364, allocations: 15.84 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.1364, allocations: 8.375 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1364, allocations: 4 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1364, allocations: 0 / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1364, allocations: 3.984 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.1371, allocations: 428 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1371, allocations: 0 / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.1372, allocations: 19.92 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.1373, allocations: 24.88 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1373, allocations: 4.062 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008357/0.1381, allocations: 1.414 MB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1381, allocations: 160 / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.1386, allocations: 237.1 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1386, allocations: 85.02 kB / 489 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1386, allocations: 0 / 489 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1388, allocations: 23.91 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1388, allocations: 4 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1388, allocations: 3.938 kB / 489 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.1389, allocations: 103.6 kB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1389, allocations: 4 kB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1391, allocations: 19.94 kB / 489.2 MB, free: 11.46 MB / 366.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.000102/0.1392, allocations: 103.2 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.1397, allocations: 198.7 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1397, allocations: 4 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.14, allocations: 162.6 kB / 489.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1403, allocations: 10.91 kB / 489.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.1407, allocations: 220.4 kB / 489.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.141, allocations: 0.7002 MB / 490.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.036e-05/0.141, allocations: 4 kB / 490.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.141, allocations: 11.44 kB / 490.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.141, allocations: 0 / 490.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of Templates: time 0.003153/0.1442, allocations: 1.104 MB / 491.7 MB, free: 8.871 MB / 366.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/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) Reference file matches