Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113.1 kB / 17.09 MB, free: 5.938 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.001134/0.001134, allocations: 194 kB / 18.03 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 223.9 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2493/0.2493, allocations: 43.52 MB / 314.8 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1357, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004845/0.1406, allocations: 3.417 MB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1422, allocations: 0.8303 MB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.1424, allocations: 15.94 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1426, allocations: 75.23 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1429, allocations: 130.8 kB / 0.4929 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.1433, allocations: 127.8 kB / 0.493 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.1439, allocations: 0.5102 MB / 0.4935 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.1442, allocations: 249.8 kB / 0.4938 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1445, allocations: 219.2 kB / 0.494 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1448, allocations: 234.9 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.1449, allocations: 48 kB / 0.4942 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.145, allocations: 48 kB / 0.4943 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.1451, allocations: 107.7 kB / 0.4944 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1454, allocations: 258.7 kB / 0.4946 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.146, allocations: 0.5563 MB / 0.4952 GB, free: 4.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.146, allocations: 4 kB / 0.4952 GB, free: 4.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.146, allocations: 0 / 0.4952 GB, free: 4.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.146, allocations: 0 / 0.4952 GB, free: 4.93 MB / 382.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.001359/0.1474, allocations: 0.7675 MB / 0.4959 GB, free: 4.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1474, allocations: 11.97 kB / 0.4959 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/0.1475, allocations: 52.66 kB / 0.496 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.148, allocations: 325.5 kB / 0.4963 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.1481, allocations: 33.38 kB / 0.4963 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.1482, allocations: 44.38 kB / 0.4964 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.149, allocations: 467.3 kB / 0.4968 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.149, allocations: 0 / 0.4968 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.1491, allocations: 24 kB / 0.4968 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1491, allocations: 8 kB / 0.4969 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.1498, allocations: 327.8 kB / 0.4972 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.1524, allocations: 1.682 MB / 0.4988 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.153, allocations: 237 kB / 0.499 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1533, allocations: 141.6 kB / 0.4992 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1533, allocations: 0 / 0.4992 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1534, allocations: 42.56 kB / 0.4992 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.1534, allocations: 0 / 0.4992 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002906/0.1563, allocations: 1.357 MB / 0.5005 GB, free: 15.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1564, allocations: 77.11 kB / 0.5006 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1567, allocations: 262.6 kB / 0.5009 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1567, allocations: 37.7 kB / 0.5009 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1569, allocations: 260.1 kB / 0.5011 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.157, allocations: 130.9 kB / 0.5013 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1571, allocations: 78.09 kB / 0.5013 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1572, allocations: 342.8 kB / 0.5017 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1575, allocations: 108.8 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.1579, allocations: 212.3 kB / 0.502 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.1585, allocations: 339.6 kB / 0.5023 GB, free: 13.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1586, allocations: 4 kB / 0.5023 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008418/0.1594, allocations: 421.8 kB / 0.5027 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1594, allocations: 8 kB / 0.5027 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1595, allocations: 8 kB / 0.5027 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.1596, allocations: 33.22 kB / 0.5028 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.1601, allocations: 119.9 kB / 0.5029 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.1612, allocations: 1.446 MB / 0.5043 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1615, allocations: 12 kB / 0.5043 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.1615, allocations: 19.94 kB / 0.5043 GB, free: 10.91 MB / 398.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 (51): * Single equations (assignments): 50 * 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 0.0001788/0.1617, allocations: 169.7 kB / 0.5045 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.1618, allocations: 35.81 kB / 0.5045 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.1619, allocations: 38.17 kB / 0.5045 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1619, allocations: 0 / 0.5045 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1619, allocations: 4 kB / 0.5045 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.162, allocations: 120.9 kB / 0.5047 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.162, allocations: 8 kB / 0.5047 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.1623, allocations: 15.98 kB / 0.5047 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.1624, allocations: 39.83 kB / 0.5047 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/0.1634, allocations: 0.5033 MB / 0.5052 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009068/0.1643, allocations: 0.6533 MB / 0.5059 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002675/0.1646, allocations: 124.8 kB / 0.506 GB, free: 9.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1648, allocations: 186 kB / 0.5061 GB, free: 8.977 MB / 398.1 MB Notification: Performance of Backend: time 3.096e-06/0.1648, allocations: 0 / 0.5061 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009503/0.1657, allocations: 396.2 kB / 0.5065 GB, free: 8.578 MB / 398.1 MB Notification: Performance of SimCode: time 0.001466/0.1672, allocations: 1.315 MB / 0.5078 GB, free: 7.215 MB / 398.1 MB Notification: Performance of Templates: time 0.007661/0.1749, allocations: 3.693 MB / 0.5114 GB, free: 3.539 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches