Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001931/0.001931, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.53/1.53, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8.656 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00325/0.1292, allocations: 2.806 MB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1306, allocations: 0.7795 MB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1308, allocations: 11.94 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.82e-05/0.1309, allocations: 55.59 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1312, allocations: 135.6 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1315, allocations: 95.84 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.132, allocations: 359.7 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.1323, allocations: 182.6 kB / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1325, allocations: 175.3 kB / 476 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1328, allocations: 191.1 kB / 476.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.1328, allocations: 28 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.1329, allocations: 24 kB / 476.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.133, allocations: 79.67 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1331, allocations: 109.5 kB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1335, allocations: 427 kB / 476.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1335, allocations: 4 kB / 476.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1336, allocations: 0 / 476.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1336, allocations: 0 / 476.9 MB, free: 8.297 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001317/0.1349, allocations: 0.6939 MB / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.135, allocations: 8.031 kB / 477.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.1351, allocations: 51.42 kB / 477.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.1355, allocations: 308.3 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.1355, allocations: 33 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.1356, allocations: 47.98 kB / 478 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.1364, allocations: 466.9 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1365, allocations: 0 / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.1365, allocations: 24 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1365, allocations: 12 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.1372, allocations: 327.8 kB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1396, allocations: 1.701 MB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1401, allocations: 260.9 kB / 480.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1401, allocations: 4 kB / 480.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1402, allocations: 34.56 kB / 480.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.1402, allocations: 0 / 480.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002911/0.1431, allocations: 1.34 MB / 482.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1432, allocations: 81.11 kB / 482.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1435, allocations: 262.6 kB / 482.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1435, allocations: 29.7 kB / 482.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1437, allocations: 251.4 kB / 482.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1438, allocations: 126.3 kB / 482.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.1438, allocations: 8 kB / 482.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.144, allocations: 338.8 kB / 483.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1442, allocations: 108.8 kB / 483.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.1446, allocations: 216.2 kB / 483.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1449, allocations: 134 kB / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1449, allocations: 0 / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008135/0.1457, allocations: 428.5 kB / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1457, allocations: 8 kB / 484.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1458, allocations: 0 / 484.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.1459, allocations: 32.78 kB / 484.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.1464, allocations: 119.9 kB / 484.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.1475, allocations: 1.332 MB / 485.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.1478, allocations: 19.98 kB / 485.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1479, allocations: 16 kB / 485.6 MB, free: 14.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.1481, allocations: 165.8 kB / 485.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.1482, allocations: 31.67 kB / 485.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.1483, allocations: 38.17 kB / 485.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1483, allocations: 4.281 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1483, allocations: 0 / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1483, allocations: 4 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.1489, allocations: 425.2 kB / 486.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1489, allocations: 0 / 486.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.1493, allocations: 99.88 kB / 486.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.292e-05/0.1494, allocations: 32.8 kB / 486.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1494, allocations: 4 kB / 486.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1505, allocations: 1.327 MB / 487.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1505, allocations: 0 / 487.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1517, allocations: 0.616 MB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.1518, allocations: 120.8 kB / 488.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1519, allocations: 12 kB / 488.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1521, allocations: 23.98 kB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.1522, allocations: 19.95 kB / 488.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1522, allocations: 12 kB / 488.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1524, allocations: 182 kB / 488.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 0 / 488.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000486/0.1529, allocations: 88 kB / 488.8 MB, free: 11.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001667/0.1531, allocations: 119.1 kB / 488.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.154, allocations: 399 kB / 489.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.154, allocations: 4.062 kB / 489.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.1544, allocations: 254.4 kB / 489.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1548, allocations: 36.92 kB / 489.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1567, allocations: 1.107 MB / 490.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1572, allocations: 0.823 MB / 491.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.1574, allocations: 30.97 kB / 491.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.1575, allocations: 31.38 kB / 491.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1575, allocations: 0 / 491.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of Templates: time 0.007123/0.1646, allocations: 2.761 MB / 494.3 MB, free: 5.918 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches