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.001381/0.001381, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.16 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 62.45 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004364/0.1152, allocations: 2.486 MB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1171, allocations: 1.082 MB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1173, allocations: 8 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.1186, allocations: 0.494 MB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.119, allocations: 111.2 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.1199, allocations: 478.1 kB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1203, allocations: 227 kB / 485.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.1208, allocations: 254.4 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.121, allocations: 107.7 kB / 485.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1212, allocations: 127.5 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1213, allocations: 23.94 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.1217, allocations: 147.9 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1217, allocations: 51.83 kB / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1218, allocations: 111.5 kB / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.1224, allocations: 399.1 kB / 486.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1224, allocations: 7.938 kB / 486.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1224, allocations: 3.938 kB / 486.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1224, allocations: 0 / 486.8 MB, free: 15.2 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.001386/0.1238, allocations: 0.6164 MB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1239, allocations: 8.031 kB / 487.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.1243, allocations: 60.62 kB / 487.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1244, allocations: 188 kB / 487.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1245, allocations: 20.94 kB / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.1245, allocations: 24.38 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.1251, allocations: 291.7 kB / 488 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1251, allocations: 0 / 488 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.1252, allocations: 12 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1252, allocations: 8 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.1258, allocations: 229.6 kB / 488.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.1273, allocations: 0.9973 MB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1279, allocations: 388.8 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.1282, allocations: 129.7 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.1284, allocations: 174.2 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1285, allocations: 34.56 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.1285, allocations: 0 / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001204/0.1297, allocations: 0.4896 MB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1297, allocations: 85.02 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1299, allocations: 144.2 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1299, allocations: 29.83 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.13, allocations: 144.1 kB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.13, allocations: 74.94 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.1301, allocations: 37.7 kB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1302, allocations: 322.8 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1304, allocations: 67.95 kB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1307, allocations: 125.8 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.1311, allocations: 205.8 kB / 491.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1312, allocations: 0 / 491.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006216/0.1318, allocations: 278.9 kB / 491.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1318, allocations: 7.984 kB / 491.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1318, allocations: 4 kB / 491.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.132, allocations: 45.89 kB / 491.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1322, allocations: 43.91 kB / 492 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1342, allocations: 2.848 MB / 494.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1344, allocations: 31.84 kB / 494.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1344, allocations: 4 kB / 494.9 MB, free: 6.371 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.0001233/0.1345, allocations: 137.8 kB / 495 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.1346, allocations: 23.81 kB / 495 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.1352, allocations: 266.7 kB / 495.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1352, allocations: 0 / 495.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1352, allocations: 4 kB / 495.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.1352, allocations: 7.984 kB / 495.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1363, allocations: 0.6447 MB / 495.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1364, allocations: 11.94 kB / 496 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1365, allocations: 31.97 kB / 496 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.1367, allocations: 49.69 kB / 496 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1367, allocations: 4 kB / 496 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.1386, allocations: 2.844 MB / 498.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1386, allocations: 0 / 498.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009044/0.1395, allocations: 0.5199 MB / 499.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1396, allocations: 89.11 kB / 499.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1396, allocations: 4 kB / 499.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1398, allocations: 19.97 kB / 499.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.1398, allocations: 27.84 kB / 499.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1399, allocations: 8 kB / 499.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.1399, allocations: 107.2 kB / 499.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1399, allocations: 4.062 kB / 499.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.1404, allocations: 75.78 kB / 499.7 MB, free: 1.09 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.0002219/0.1406, allocations: 122.2 kB / 499.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.1414, allocations: 425.1 kB / 0.4885 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1414, allocations: 0 / 0.4885 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.1418, allocations: 325.8 kB / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1422, allocations: 19.88 kB / 0.4889 GB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.1431, allocations: 0.4923 MB / 0.4894 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1435, allocations: 0.7437 MB / 0.4901 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.1435, allocations: 15.44 kB / 0.4901 GB, free: 14.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1436, allocations: 0 / 0.4901 GB, free: 14.84 MB / 382.1 MB Notification: Performance of Templates: time 0.006137/0.1497, allocations: 4.288 MB / 0.4943 GB, free: 10.55 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