Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107 kB / 17.33 MB, free: 6.023 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.001579/0.001579, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.392/1.392, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2076/0.2076, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 69.53 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 60.82 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003182/0.1444, allocations: 1.765 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.1446, allocations: 83.66 kB / 470.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.1446, allocations: 4 kB / 470.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.121e-05/0.1447, allocations: 7.922 kB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.1448, allocations: 15.86 kB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.1449, allocations: 27.97 kB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.145, allocations: 111.6 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1452, allocations: 55.94 kB / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.1453, allocations: 43.8 kB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.1454, allocations: 51.77 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1454, allocations: 12 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.1454, allocations: 12 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.1455, allocations: 27.91 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1455, allocations: 47.8 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1457, allocations: 115.9 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1457, allocations: 0 / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1457, allocations: 4 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1457, allocations: 0 / 471.1 MB, free: 12.37 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.000774/0.1465, allocations: 415.1 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1466, allocations: 8.031 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.1466, allocations: 12.84 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1468, allocations: 188.2 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1468, allocations: 8.375 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1469, allocations: 8.375 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1472, allocations: 125.8 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1472, allocations: 192 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1473, allocations: 7.938 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1473, allocations: 4 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.1476, allocations: 115.7 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.1485, allocations: 475.3 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1487, allocations: 78.53 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1489, allocations: 60.94 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.149, allocations: 4 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.149, allocations: 34.56 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.149, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007725/0.1498, allocations: 275.3 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1499, allocations: 55.39 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.15, allocations: 125.7 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.15, allocations: 25.7 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.15, allocations: 108.1 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1501, allocations: 19.8 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1501, allocations: 25.7 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1502, allocations: 310.8 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1504, allocations: 43.95 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1506, allocations: 58.47 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1508, allocations: 90.52 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1509, allocations: 7.875 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003947/0.1513, allocations: 154.2 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1513, allocations: 10.5 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1513, allocations: 160 / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.1514, allocations: 24.84 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1516, allocations: 15.98 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1527, allocations: 1.41 MB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.1528, allocations: 20.22 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1528, allocations: 0 / 475.3 MB, free: 7.68 MB / 350.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.664e-05/0.1529, allocations: 121.8 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1529, allocations: 7.844 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.153, allocations: 16.36 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.153, allocations: 0 / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.153, allocations: 0 / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.153, allocations: 0 / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.1536, allocations: 424.1 kB / 475.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1536, allocations: 0 / 475.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/0.1537, allocations: 19.92 kB / 475.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.1538, allocations: 24.88 kB / 475.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1538, allocations: 4 kB / 475.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009139/0.1547, allocations: 1.402 MB / 477.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1547, allocations: 0 / 477.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1552, allocations: 249.1 kB / 477.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1552, allocations: 89 kB / 477.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1553, allocations: 144 / 477.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1554, allocations: 11.98 kB / 477.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.1554, allocations: 19.91 kB / 477.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1555, allocations: 0 / 477.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.1555, allocations: 95.27 kB / 477.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1555, allocations: 0 / 477.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1558, allocations: 31.94 kB / 477.8 MB, free: 4.93 MB / 350.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.0001166/0.1559, allocations: 95.72 kB / 477.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.1565, allocations: 214.5 kB / 478.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1565, allocations: 4.125 kB / 478.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1567, allocations: 158.7 kB / 478.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1571, allocations: 8 kB / 478.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1576, allocations: 260.9 kB / 478.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1579, allocations: 0.6924 MB / 479.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.1579, allocations: 7.984 kB / 479.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.158, allocations: 11.44 kB / 479.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.158, allocations: 0 / 479.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Templates: time 0.003531/0.1615, allocations: 0.9945 MB / 480.3 MB, free: 2.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches