Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.00115/0.00115, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.432/1.432, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001179/0.00118, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08293, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005592/0.08856, allocations: 4.617 MB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.09173, allocations: 1.737 MB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.09224, allocations: 19.94 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.0929, allocations: 258.3 kB / 335.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.0945, allocations: 0.6957 MB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.09502, allocations: 227.5 kB / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.09679, allocations: 1.895 MB / 338.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.09805, allocations: 1.249 MB / 339.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.09879, allocations: 0.7826 MB / 340.2 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.09986, allocations: 0.9807 MB / 341.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.1001, allocations: 187.9 kB / 341.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.1007, allocations: 315.9 kB / 341.7 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.1011, allocations: 0.5336 MB / 342.2 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008216/0.102, allocations: 0.8943 MB / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1041, allocations: 2.566 MB / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1041, allocations: 0 / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1041, allocations: 0 / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1041, allocations: 0 / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004317/0.1084, allocations: 2.175 MB / 347.8 MB, free: 484 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1085, allocations: 8.031 kB / 347.8 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.1102, allocations: 366.6 kB / 348.2 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.1121, allocations: 1.044 MB / 349.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.1122, allocations: 107 kB / 349.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.1124, allocations: 132.1 kB / 349.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.1153, allocations: 1.882 MB / 351.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.1153, allocations: 3.938 kB / 351.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.1155, allocations: 52 kB / 351.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/0.1155, allocations: 53.98 kB / 351.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.1182, allocations: 1.684 MB / 353.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008806/0.127, allocations: 5.516 MB / 358.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.1301, allocations: 2.913 MB / 361.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.1309, allocations: 0.4915 MB / 362.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/0.1334, allocations: 1.536 MB / 363.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1335, allocations: 38.56 kB / 363.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.245e-06/0.1335, allocations: 0 / 363.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003115/0.1366, allocations: 1.415 MB / 365.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1367, allocations: 85.05 kB / 365.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.138, allocations: 1.032 MB / 366.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.1381, allocations: 37.7 kB / 366.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.1386, allocations: 0.6696 MB / 366.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1388, allocations: 197.3 kB / 367.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.139, allocations: 126.5 kB / 367.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1391, allocations: 330 kB / 367.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.1397, allocations: 365 kB / 367.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.1405, allocations: 0.517 MB / 368.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.1418, allocations: 0.875 MB / 369.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1418, allocations: 0 / 369.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001623/0.1434, allocations: 1.009 MB / 370.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1434, allocations: 8 kB / 370.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1435, allocations: 4 kB / 370.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.1435, allocations: 11.94 kB / 370.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.1443, allocations: 184.2 kB / 370.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.1443, allocations: 11.98 kB / 370.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.1449, allocations: 83.34 kB / 370.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.145, allocations: 31.98 kB / 370.6 MB, free: 8.637 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008305/0.1458, allocations: 0.5247 MB / 371.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.146, allocations: 90.88 kB / 371.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.1473, allocations: 0.6863 MB / 371.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1473, allocations: 8 kB / 371.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.1473, allocations: 3.938 kB / 371.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1473, allocations: 3.938 kB / 371.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.1499, allocations: 1.66 MB / 373.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1499, allocations: 4.094 kB / 373.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.1504, allocations: 87.88 kB / 373.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.1508, allocations: 159.8 kB / 373.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.1509, allocations: 19.98 kB / 373.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.1539, allocations: 2.844 MB / 376.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1539, allocations: 0 / 376.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.156, allocations: 1.474 MB / 378.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.1563, allocations: 188 kB / 378.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1564, allocations: 19.98 kB / 378.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.157, allocations: 67.81 kB / 378.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1571, allocations: 55.86 kB / 378.5 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.1571, allocations: 20.11 kB / 378.5 MB, free: 468 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.1393/0.2964, allocations: 0.7257 MB / 379.2 MB, free: 52.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2965, allocations: 0 / 379.2 MB, free: 52.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001793/0.2983, allocations: 356.5 kB / 379.6 MB, free: 52.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000397/0.2987, allocations: 136.7 kB / 379.7 MB, free: 52.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.3006, allocations: 0.7724 MB / 380.5 MB, free: 52.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.3006, allocations: 2.375 kB / 380.5 MB, free: 52.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.3021, allocations: 0.5862 MB / 381.1 MB, free: 52.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3033, allocations: 183.1 kB / 381.3 MB, free: 52.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.3083, allocations: 2.767 MB / 384 MB, free: 51.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.3097, allocations: 1.493 MB / 385.5 MB, free: 50.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007448/0.3105, allocations: 232.5 kB / 385.7 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3107, allocations: 62.53 kB / 385.8 MB, free: 50.39 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3107, allocations: 0 / 385.8 MB, free: 50.39 MB / 318.1 MB Notification: Performance of Templates: time 0.02029/0.331, allocations: 11.6 MB / 397.4 MB, free: 46.42 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches