Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_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.001337/0.001337, allocations: 113.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 50.54 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01069/0.2627, allocations: 10.01 MB / 418.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.2695, allocations: 3.384 MB / 422.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.2718, allocations: 75.75 kB / 422.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008771/0.2806, allocations: 3.826 MB / 426.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.2853, allocations: 1.489 MB / 427.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.2876, allocations: 1.054 MB / 428.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009333/0.2969, allocations: 9.255 MB / 437.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02516/0.3221, allocations: 20.34 MB / 458.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.3286, allocations: 5.074 MB / 463.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008903/0.3375, allocations: 6.095 MB / 469.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003077/0.3407, allocations: 1.398 MB / 470.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/0.3447, allocations: 1.66 MB / 472.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.347, allocations: 2.923 MB / 475.3 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007971/0.355, allocations: 5.451 MB / 480.8 MB, free: 9.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.3723, allocations: 18.86 MB / 499.7 MB, free: 6.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3724, allocations: 3.938 kB / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3724, allocations: 0 / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005407/0.3729, allocations: 0 / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03541/0.4083, allocations: 12.26 MB / 0.4999 GB, free: 9.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4084, allocations: 11.97 kB / 0.4999 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004805/0.4132, allocations: 1.328 MB / 0.5012 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04685/0.4601, allocations: 8.549 MB / 0.5096 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.475, allocations: 5.883 MB / 0.5153 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007382/0.4758, allocations: 0.6584 MB / 0.516 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003999/0.4798, allocations: 0.8671 MB / 0.5168 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04013/0.52, allocations: 15.98 MB / 0.5324 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004201/0.5204, allocations: 7.906 kB / 0.5324 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003293/0.5237, allocations: 372 kB / 0.5328 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.5244, allocations: 0.5542 MB / 0.5333 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4291/0.9534, allocations: 15.73 MB / 0.5487 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07301/1.026, allocations: 48.51 MB / 0.5961 GB, free: 68.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/1.041, allocations: 19.34 MB / 0.6149 GB, free: 46.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003996/1.045, allocations: 3.59 MB / 0.6184 GB, free: 43.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/1.045, allocations: 261.1 kB / 0.6187 GB, free: 43.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.045, allocations: 90.55 kB / 0.6188 GB, free: 42.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 5.641e-06/1.045, allocations: 0 / 0.6188 GB, free: 42.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.0187/1.064, allocations: 11.55 MB / 0.6301 GB, free: 31.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.064, allocations: 125.1 kB / 0.6302 GB, free: 31.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/1.068, allocations: 3.839 MB / 0.6339 GB, free: 27.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000608/1.069, allocations: 101.7 kB / 0.634 GB, free: 27.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.071, allocations: 3.897 MB / 0.6378 GB, free: 23.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.072, allocations: 1.603 MB / 0.6394 GB, free: 21.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.073, allocations: 1.468 MB / 0.6408 GB, free: 20.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/1.074, allocations: 305.1 kB / 0.6411 GB, free: 19.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/1.078, allocations: 3.688 MB / 0.6447 GB, free: 16.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/1.083, allocations: 6.528 MB / 0.6511 GB, free: 8.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.093, allocations: 10.82 MB / 0.6617 GB, free: 12.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/1.093, allocations: 24 kB / 0.6617 GB, free: 12.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01999/1.113, allocations: 11.96 MB / 0.6734 GB, free: 160 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/1.113, allocations: 46.34 kB / 0.6734 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/1.113, allocations: 96 kB / 0.6735 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/1.118, allocations: 1.617 MB / 0.6751 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006865/1.125, allocations: 1.665 MB / 0.6767 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.145, allocations: 17.66 MB / 0.694 GB, free: 10.21 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.151, allocations: 0.9562 MB / 0.6949 GB, free: 9.246 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.152, allocations: 360 kB / 0.6952 GB, free: 8.895 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006783/1.159, allocations: 3.754 MB / 0.6989 GB, free: 5.125 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/1.16, allocations: 387.1 kB / 0.6993 GB, free: 4.742 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.174, allocations: 8.561 MB / 0.7076 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/1.174, allocations: 48 kB / 0.7077 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/1.174, allocations: 19.98 kB / 0.7077 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-05/1.174, allocations: 27.91 kB / 0.7077 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03369/1.208, allocations: 16.78 MB / 0.7241 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.208, allocations: 4.25 kB / 0.7241 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/1.211, allocations: 0.862 MB / 0.725 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004746/1.216, allocations: 1.522 MB / 0.7264 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.217, allocations: 99.97 kB / 0.7265 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/1.236, allocations: 17.46 MB / 0.7436 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.236, allocations: 4 kB / 0.7436 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2504/1.486, allocations: 12.23 MB / 0.7555 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/1.489, allocations: 1.095 MB / 0.7566 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/1.49, allocations: 87 kB / 0.7567 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.492, allocations: 307.2 kB / 0.757 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000679/1.493, allocations: 316.9 kB / 0.7573 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.493, allocations: 143.4 kB / 0.7574 GB, free: 182.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003402/1.497, allocations: 2.574 MB / 0.7599 GB, free: 182.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.002e-06/1.497, allocations: 0 / 0.7599 GB, free: 182.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006646/1.504, allocations: 2.389 MB / 0.7623 GB, free: 181.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0158/1.519, allocations: 12.96 MB / 0.7749 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.531, allocations: 9.382 MB / 0.7841 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.531, allocations: 0 / 0.7841 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005947/1.537, allocations: 4.476 MB / 0.7885 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003516/1.541, allocations: 0.733 MB / 0.7892 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07863/1.619, allocations: 61.15 MB / 0.8489 GB, free: 106.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.624, allocations: 6.049 MB / 0.8548 GB, free: 100.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006112/1.63, allocations: 3.251 MB / 0.858 GB, free: 96.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/1.634, allocations: 3.045 MB / 0.8609 GB, free: 93.75 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/1.634, allocations: 0 / 0.8609 GB, free: 93.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9763/2.611, allocations: 126.2 MB / 0.9842 GB, free: 173 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.96/23.57, allocations: 17.09 kB / 0.9842 GB, free: 173 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches