Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 114.2 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 193.3 kB / 18.9 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.6 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.17 MB / 336.9 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.25 kB / 408.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.83 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003607/0.1155, allocations: 2.497 MB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.117, allocations: 1.02 MB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.1171, allocations: 4 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1183, allocations: 482.2 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1186, allocations: 91.48 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1196, allocations: 0.5979 MB / 474.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1199, allocations: 223 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1203, allocations: 274.5 kB / 474.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1205, allocations: 103.6 kB / 474.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1207, allocations: 119.5 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1207, allocations: 24 kB / 474.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.121, allocations: 147.9 kB / 474.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1211, allocations: 47.8 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1212, allocations: 115.5 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.1217, allocations: 311.4 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1217, allocations: 0 / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1217, allocations: 0 / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1217, allocations: 0 / 475.4 MB, free: 8.656 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001367/0.1231, allocations: 0.6125 MB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1231, allocations: 8.031 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.1235, allocations: 52.61 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1236, allocations: 192 kB / 476.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1237, allocations: 24.88 kB / 476.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.1237, allocations: 28.36 kB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.1243, allocations: 291.7 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1244, allocations: 0 / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.1244, allocations: 12 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.1244, allocations: 4 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.1249, allocations: 237.5 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1264, allocations: 1.001 MB / 477.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.1269, allocations: 385.6 kB / 478.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.1272, allocations: 129.7 kB / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1273, allocations: 93.09 kB / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1274, allocations: 30.56 kB / 478.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.455e-06/0.1274, allocations: 0 / 478.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001244/0.1286, allocations: 0.5013 MB / 479 MB, free: 4.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1287, allocations: 77.11 kB / 479 MB, free: 4.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1288, allocations: 143.5 kB / 479.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1288, allocations: 29.7 kB / 479.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1289, allocations: 140.1 kB / 479.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.129, allocations: 71 kB / 479.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.129, allocations: 37.7 kB / 479.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1292, allocations: 322.8 kB / 479.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1294, allocations: 71.98 kB / 479.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1296, allocations: 131.5 kB / 480 MB, free: 3.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.13, allocations: 213.2 kB / 480.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1301, allocations: 0 / 480.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005857/0.1306, allocations: 271 kB / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1307, allocations: 12.17 kB / 480.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1307, allocations: 4 kB / 480.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1309, allocations: 49.7 kB / 480.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.1311, allocations: 39.91 kB / 480.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.1329, allocations: 2.84 MB / 483.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1331, allocations: 31.84 kB / 483.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1331, allocations: 8 kB / 483.4 MB, free: 15.93 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.0001223/0.1333, allocations: 141.8 kB / 483.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.1333, allocations: 15.81 kB / 483.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.1339, allocations: 266.4 kB / 483.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1339, allocations: 4.25 kB / 483.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1339, allocations: 7.922 kB / 483.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.134, allocations: 3.984 kB / 483.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.135, allocations: 0.6459 MB / 484.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.135, allocations: 3.938 kB / 484.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1352, allocations: 35.97 kB / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.1353, allocations: 49.75 kB / 484.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1353, allocations: 11.94 kB / 484.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.1371, allocations: 2.84 MB / 487.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1371, allocations: 4.031 kB / 487.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.1379, allocations: 0.5197 MB / 488 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.138, allocations: 88.95 kB / 488 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.138, allocations: 8 kB / 488.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1382, allocations: 19.97 kB / 488.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.1383, allocations: 23.98 kB / 488.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1383, allocations: 4 kB / 488.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.1384, allocations: 107.2 kB / 488.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1384, allocations: 0 / 488.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.1388, allocations: 75.78 kB / 488.3 MB, free: 10.65 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.0002008/0.139, allocations: 123.7 kB / 488.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.1398, allocations: 421.5 kB / 488.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1398, allocations: 0 / 488.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.1402, allocations: 325.3 kB / 489.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1406, allocations: 19.92 kB / 489.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.1415, allocations: 0.5782 MB / 489.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1418, allocations: 0.74 MB / 490.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1418, allocations: 15.44 kB / 490.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1418, allocations: 0 / 490.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of Templates: time 0.00563/0.1475, allocations: 4.26 MB / 494.7 MB, free: 4.051 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches