Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.08 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.08097, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006461/0.08746, allocations: 6.646 MB / 364.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.09105, allocations: 2.25 MB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.09185, allocations: 43.81 kB / 366.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.09279, allocations: 369.5 kB / 366.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.09496, allocations: 0.8316 MB / 367.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.09583, allocations: 372.8 kB / 368.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.09915, allocations: 3.167 MB / 371.2 MB, free: 296 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1374/0.2366, allocations: 1.999 MB / 373.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.2382, allocations: 1.295 MB / 374.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.2405, allocations: 1.621 MB / 376.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008218/0.2413, allocations: 295.5 kB / 376.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2426, allocations: 429 kB / 376.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.2434, allocations: 0.8481 MB / 377.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.2447, allocations: 1.462 MB / 379.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.2481, allocations: 4.067 MB / 383.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2481, allocations: 4 kB / 383.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2481, allocations: 1.094 kB / 383.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.686e-05/0.2482, allocations: 0 / 383.2 MB, free: 7.184 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007177/0.2554, allocations: 3.487 MB / 386.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2555, allocations: 10.38 kB / 386.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000401/0.2559, allocations: 342.2 kB / 387.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.2598, allocations: 0.7528 MB / 387.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.2625, allocations: 1.668 MB / 389.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2626, allocations: 174.3 kB / 389.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.263, allocations: 232.1 kB / 389.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.2685, allocations: 3.209 MB / 393.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.2686, allocations: 0 / 393.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2689, allocations: 93.22 kB / 393.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.269, allocations: 67.34 kB / 393.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.2731, allocations: 2.863 MB / 396.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.2859, allocations: 9.243 MB / 405.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.2901, allocations: 4.384 MB / 409.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.2912, allocations: 0.8103 MB / 410.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003706/0.2949, allocations: 3.144 MB / 413.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.295, allocations: 54.5 kB / 413.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.394e-06/0.295, allocations: 288 / 413.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.00726/0.3023, allocations: 4.196 MB / 418 MB, free: 11.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3023, allocations: 119.2 kB / 418.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.3043, allocations: 1.617 MB / 419.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.3044, allocations: 45.7 kB / 419.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.305, allocations: 1.117 MB / 420.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.3052, allocations: 354 kB / 421.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.3055, allocations: 242.6 kB / 421.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3057, allocations: 361.9 kB / 421.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.3066, allocations: 0.6349 MB / 422.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.3077, allocations: 1.011 MB / 423.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.3098, allocations: 1.702 MB / 425.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3098, allocations: 3.938 kB / 425.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002851/0.3126, allocations: 1.939 MB / 427.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3127, allocations: 20.02 kB / 427.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3127, allocations: 12 kB / 427.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.313, allocations: 129.6 kB / 427.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.3142, allocations: 330.2 kB / 427.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.3168, allocations: 3.427 MB / 431 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3178, allocations: 103.6 kB / 431.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.3179, allocations: 56 kB / 431.1 MB, free: 13.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001173/0.3191, allocations: 0.8281 MB / 432 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.3194, allocations: 150.2 kB / 432.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.3217, allocations: 1.397 MB / 433.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3217, allocations: 12 kB / 433.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3217, allocations: 4 kB / 433.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3217, allocations: 7.922 kB / 433.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.3257, allocations: 2.446 MB / 436 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.3257, allocations: 4 kB / 436 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.3265, allocations: 187.8 kB / 436.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006165/0.3271, allocations: 258.2 kB / 436.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.3272, allocations: 35.97 kB / 436.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/0.3325, allocations: 6.259 MB / 442.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3325, allocations: 3.984 kB / 442.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.3363, allocations: 2.542 MB / 445.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.3369, allocations: 255.1 kB / 445.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.3372, allocations: 27.94 kB / 445.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.3382, allocations: 99.89 kB / 445.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.3384, allocations: 90.92 kB / 445.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.3385, allocations: 31.98 kB / 445.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.3401, allocations: 1.135 MB / 446.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3401, allocations: 0 / 446.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001572/0.3416, allocations: 444 kB / 447.3 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003959/0.3456, allocations: 3.17 MB / 450.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.3486, allocations: 1.91 MB / 452.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3486, allocations: 0 / 452.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3503, allocations: 1.173 MB / 453.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.3518, allocations: 281.1 kB / 453.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/0.3762, allocations: 18.97 MB / 472.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.3779, allocations: 2.105 MB / 474.9 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001101/0.379, allocations: 459.5 kB / 475.4 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/0.3799, allocations: 0.831 MB / 476.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.38, allocations: 0 / 476.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.974/4.354, allocations: 37.48 MB / 0.5016 GB, free: 10.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/20.93, allocations: 15.8 kB / 0.5017 GB, free: 10.08 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches