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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 103.8 kB / 17.16 MB, free: 6.32 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.001411/0.001411, allocations: 190 kB / 18.07 MB, free: 5.414 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.517/1.517, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001013/0.001013, allocations: 55.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08092, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005161/0.08612, allocations: 4.613 MB / 331.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.08865, allocations: 1.722 MB / 333 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.08896, allocations: 23.88 kB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.08948, allocations: 226.9 kB / 333.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.09074, allocations: 0.6457 MB / 333.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.09114, allocations: 211.6 kB / 334.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.09292, allocations: 2.167 MB / 336.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009624/0.09389, allocations: 1.043 MB / 337.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.09448, allocations: 0.6731 MB / 338 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008161/0.0953, allocations: 0.9339 MB / 339 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.09547, allocations: 124 kB / 339.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.0959, allocations: 239.9 kB / 339.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.09624, allocations: 474.3 kB / 339.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.09689, allocations: 0.8201 MB / 340.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.09856, allocations: 2.481 MB / 343.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09857, allocations: 0 / 343.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09858, allocations: 4 kB / 343.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.09861, allocations: 0 / 343.1 MB, free: 4.312 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.003767/0.1024, allocations: 2.164 MB / 345.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1024, allocations: 12.03 kB / 345.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.1027, allocations: 206.8 kB / 345.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.1043, allocations: 370.6 kB / 345.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1057, allocations: 1.044 MB / 346.9 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.1058, allocations: 99.05 kB / 347 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.1059, allocations: 139.9 kB / 347.1 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.1086, allocations: 1.886 MB / 349 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1086, allocations: 0 / 349 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.1088, allocations: 52 kB / 349 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.1088, allocations: 46 kB / 349.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.1112, allocations: 1.691 MB / 350.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007057/0.1183, allocations: 5.579 MB / 356.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.1208, allocations: 2.907 MB / 359.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.1215, allocations: 0.4992 MB / 359.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.1234, allocations: 1.532 MB / 361.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1234, allocations: 46.62 kB / 361.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.1234, allocations: 0 / 361.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002779/0.1262, allocations: 1.41 MB / 362.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1263, allocations: 92.98 kB / 362.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1274, allocations: 1.028 MB / 363.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.1274, allocations: 37.7 kB / 363.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.1278, allocations: 0.6774 MB / 364.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1279, allocations: 193.3 kB / 364.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.1281, allocations: 122.2 kB / 364.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.1282, allocations: 334 kB / 365.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.1287, allocations: 361.3 kB / 365.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.1294, allocations: 0.5132 MB / 366.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.1305, allocations: 0.875 MB / 366.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1305, allocations: 3.938 kB / 367 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0014/0.1319, allocations: 1.001 MB / 368 MB, free: 10.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1319, allocations: 8 kB / 368 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1319, allocations: 12.5 kB / 368 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.132, allocations: 12 kB / 368 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.1326, allocations: 183.8 kB / 368.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1327, allocations: 11.94 kB / 368.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1331, allocations: 83.33 kB / 368.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.1332, allocations: 28 kB / 368.3 MB, free: 9.98 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.0005996/0.1338, allocations: 0.5219 MB / 368.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1339, allocations: 98.86 kB / 368.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.135, allocations: 0.6824 MB / 369.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.135, allocations: 11.94 kB / 369.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.135, allocations: 7.938 kB / 369.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1351, allocations: 3.984 kB / 369.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.1371, allocations: 1.656 MB / 371.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1372, allocations: 4 kB / 371.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.1376, allocations: 95.81 kB / 371.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.138, allocations: 156.7 kB / 371.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.138, allocations: 19.92 kB / 371.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.1406, allocations: 2.61 MB / 374.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1406, allocations: 4.062 kB / 374.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.1426, allocations: 1.472 MB / 375.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.1428, allocations: 188 kB / 375.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1429, allocations: 16 kB / 375.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.1434, allocations: 63.92 kB / 375.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.1435, allocations: 51.86 kB / 375.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.1436, allocations: 16 kB / 375.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008322/0.1444, allocations: 0.7371 MB / 376.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 0 / 376.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.1453, allocations: 362.4 kB / 377 MB, free: 0.9492 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.1159/0.2612, allocations: 2.062 MB / 379.1 MB, free: 52.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.2625, allocations: 0.7693 MB / 379.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2625, allocations: 1.375 kB / 379.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2636, allocations: 0.5891 MB / 380.5 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.2646, allocations: 169.2 kB / 380.6 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.277, allocations: 11.67 MB / 392.3 MB, free: 46.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.2777, allocations: 1.497 MB / 393.8 MB, free: 45.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.2783, allocations: 229 kB / 394 MB, free: 45.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.2787, allocations: 483.9 kB / 394.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2787, allocations: 3.938 kB / 394.5 MB, free: 44.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.61/0.8887, allocations: 21.85 MB / 416.3 MB, free: 26.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.889, allocations: 254.9 kB / 416.6 MB, free: 25.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.202, allocations: 0 / 416.6 MB, free: 25.91 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > 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","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches