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.001248/0.001248, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.14 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002887/0.1099, allocations: 1.72 MB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.1101, allocations: 83.66 kB / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.1101, allocations: 0 / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.795e-05/0.1102, allocations: 15.86 kB / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.1103, allocations: 19.73 kB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.891e-05/0.1104, allocations: 31.95 kB / 483.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1105, allocations: 107.6 kB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.1107, allocations: 59.89 kB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.1108, allocations: 39.91 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.1108, allocations: 51.77 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1109, allocations: 12 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.1109, allocations: 12 kB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.1109, allocations: 23.92 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.111, allocations: 51.73 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1111, allocations: 115.6 kB / 483.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1111, allocations: 4 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1111, allocations: 0 / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1111, allocations: 0 / 483.8 MB, free: 2.184 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.0005898/0.1117, allocations: 419.1 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1118, allocations: 15.97 kB / 484.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1118, allocations: 8.844 kB / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1119, allocations: 180.2 kB / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.112, allocations: 8.375 kB / 484.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.112, allocations: 12.38 kB / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1123, allocations: 130 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1123, allocations: 192 / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1123, allocations: 7.875 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1123, allocations: 4 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1127, allocations: 107.9 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.1134, allocations: 475.3 kB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1136, allocations: 82.53 kB / 485.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1138, allocations: 68.94 kB / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1139, allocations: 0 / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1139, allocations: 34.5 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1139, allocations: 0 / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007494/0.1147, allocations: 271.4 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1147, allocations: 51.41 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.1148, allocations: 129.8 kB / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1148, allocations: 25.7 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1149, allocations: 108.1 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1149, allocations: 15.81 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.115, allocations: 21.7 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1151, allocations: 314.8 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1152, allocations: 35.95 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1154, allocations: 58.55 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1157, allocations: 102.4 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1157, allocations: 3.938 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003531/0.116, allocations: 142.3 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.116, allocations: 4 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1161, allocations: 8.141 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.1162, allocations: 20.92 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1163, allocations: 23.97 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000967/0.1173, allocations: 1.42 MB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.1174, allocations: 12.02 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1174, allocations: 320 / 488.1 MB, free: 13.5 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.899e-05/0.1175, allocations: 117.4 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1176, allocations: 11.84 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.1176, allocations: 16.36 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1176, allocations: 8 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1176, allocations: 4 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1176, allocations: 0 / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1182, allocations: 424.1 kB / 488.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1182, allocations: 0 / 488.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.1183, allocations: 24.02 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/0.1184, allocations: 20.84 kB / 488.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1184, allocations: 4 kB / 488.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008788/0.1193, allocations: 1.406 MB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1193, allocations: 0 / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.1197, allocations: 241.1 kB / 490.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.1198, allocations: 85.02 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1198, allocations: 3.984 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1199, allocations: 15.98 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.12, allocations: 7.984 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.12, allocations: 0 / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.12, allocations: 103.3 kB / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.12, allocations: 0 / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1203, allocations: 23.94 kB / 490.5 MB, free: 10.76 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 8.78e-05/0.1204, allocations: 95.19 kB / 490.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1209, allocations: 210.8 kB / 490.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1209, allocations: 0 / 490.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1211, allocations: 162.6 kB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1214, allocations: 11.03 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1218, allocations: 213.8 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1221, allocations: 0.6963 MB / 491.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.1221, allocations: 0 / 491.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1221, allocations: 15.38 kB / 491.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1221, allocations: 0 / 491.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of Templates: time 0.003338/0.1255, allocations: 1.109 MB / 493 MB, free: 8.172 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 -s gbode -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