Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_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.001121/0.001121, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.001007/0.001007, allocations: 187.1 kB / 18.66 MB, free: 4.445 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.294/1.294, allocations: 205.1 MB / 224.5 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.001167/0.001167, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 46.62 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.187/0.2944, allocations: 9.922 MB / 384.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.3006, allocations: 3.344 MB / 387.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.3024, allocations: 64.44 kB / 388 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.3099, allocations: 3.834 MB / 391.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.314, allocations: 1.403 MB / 393.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.3163, allocations: 1.144 MB / 394.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3264, allocations: 9.141 MB / 403.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02644/0.3529, allocations: 20.33 MB / 423.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00775/0.3607, allocations: 5.066 MB / 428.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009064/0.3698, allocations: 6.079 MB / 435 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003582/0.3734, allocations: 1.398 MB / 436.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.3789, allocations: 1.636 MB / 438 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003932/0.3829, allocations: 2.923 MB / 440.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009572/0.3925, allocations: 5.444 MB / 446.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.4116, allocations: 18.7 MB / 465.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4116, allocations: 0 / 465.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4117, allocations: 4 kB / 465.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004104/0.4121, allocations: 0 / 465.1 MB, free: 5.418 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03454/0.4466, allocations: 12.26 MB / 477.3 MB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4467, allocations: 11.89 kB / 477.4 MB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004475/0.4512, allocations: 1.328 MB / 478.7 MB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0464/0.4976, allocations: 8.506 MB / 487.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.5093, allocations: 5.384 MB / 492.6 MB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007262/0.5101, allocations: 0.6584 MB / 493.2 MB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/0.5137, allocations: 0.8633 MB / 494.1 MB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03544/0.5492, allocations: 15.98 MB / 0.4981 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.5495, allocations: 11.91 kB / 0.4981 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/0.5514, allocations: 364 kB / 0.4985 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004979/0.5519, allocations: 0.5621 MB / 0.499 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02838/0.5803, allocations: 15.72 MB / 0.5144 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3884/0.9687, allocations: 47.71 MB / 0.561 GB, free: 119.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/0.9861, allocations: 19.34 MB / 0.5799 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00561/0.9918, allocations: 3.59 MB / 0.5834 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.9922, allocations: 173.8 kB / 0.5835 GB, free: 105.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/0.9923, allocations: 90.03 kB / 0.5836 GB, free: 105.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.612e-06/0.9923, allocations: 0 / 0.5836 GB, free: 105.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02104/1.013, allocations: 11.54 MB / 0.5949 GB, free: 103.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.013, allocations: 129.4 kB / 0.595 GB, free: 103.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/1.019, allocations: 3.846 MB / 0.5988 GB, free: 101.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005525/1.019, allocations: 99.64 kB / 0.5989 GB, free: 101.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.021, allocations: 3.899 MB / 0.6027 GB, free: 98.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.023, allocations: 1.607 MB / 0.6042 GB, free: 97.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/1.025, allocations: 1.467 MB / 0.6057 GB, free: 96.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.025, allocations: 301.1 kB / 0.606 GB, free: 96.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.029, allocations: 3.689 MB / 0.6096 GB, free: 95.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005252/1.034, allocations: 6.523 MB / 0.6159 GB, free: 90.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.044, allocations: 10.82 MB / 0.6265 GB, free: 82.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-05/1.044, allocations: 29.53 kB / 0.6265 GB, free: 82.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01767/1.062, allocations: 11.96 MB / 0.6382 GB, free: 71.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.062, allocations: 44 kB / 0.6382 GB, free: 71.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.062, allocations: 92 kB / 0.6383 GB, free: 71.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.067, allocations: 1.619 MB / 0.6399 GB, free: 69.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/1.073, allocations: 1.669 MB / 0.6415 GB, free: 68.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.089, allocations: 17.65 MB / 0.6588 GB, free: 49.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/1.095, allocations: 0.9561 MB / 0.6597 GB, free: 48.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/1.096, allocations: 365.3 kB / 0.6601 GB, free: 48.27 MB / 478.1 MB 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.007053/1.104, allocations: 3.754 MB / 0.6637 GB, free: 44.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/1.105, allocations: 391.1 kB / 0.6641 GB, free: 44.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.12, allocations: 8.573 MB / 0.6725 GB, free: 35.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.12, allocations: 48 kB / 0.6725 GB, free: 35.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-05/1.12, allocations: 12 kB / 0.6725 GB, free: 35.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-05/1.12, allocations: 23.91 kB / 0.6725 GB, free: 35.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03161/1.152, allocations: 16.79 MB / 0.6889 GB, free: 18.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.152, allocations: 4.875 kB / 0.6889 GB, free: 18.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003151/1.155, allocations: 0.8581 MB / 0.6898 GB, free: 17.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004149/1.159, allocations: 1.519 MB / 0.6913 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003707/1.16, allocations: 104 kB / 0.6914 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/1.176, allocations: 17.47 MB / 0.7084 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.176, allocations: 4 kB / 0.7084 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/1.199, allocations: 12.23 MB / 0.7204 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/1.202, allocations: 1.1 MB / 0.7214 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.203, allocations: 88 kB / 0.7215 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.206, allocations: 299.6 kB / 0.7218 GB, free: 15.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.207, allocations: 327.5 kB / 0.7221 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000639/1.208, allocations: 136 kB / 0.7223 GB, free: 15.35 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005398/1.213, allocations: 2.574 MB / 0.7248 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.61e-07/1.213, allocations: 0 / 0.7248 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009281/1.223, allocations: 2.379 MB / 0.7271 GB, free: 10.39 MB / 0.4982 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.02157/1.244, allocations: 12.96 MB / 0.7398 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.259, allocations: 9.38 MB / 0.7489 GB, free: 3.727 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.259, allocations: 4 kB / 0.7489 GB, free: 3.723 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.2144/1.474, allocations: 4.462 MB / 0.7533 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/1.478, allocations: 0.733 MB / 0.754 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1054/1.584, allocations: 61.15 MB / 0.8137 GB, free: 141 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009094/1.593, allocations: 6.043 MB / 0.8196 GB, free: 135 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007858/1.601, allocations: 3.252 MB / 0.8228 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005465/1.606, allocations: 3.042 MB / 0.8258 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of SimCode: time 8.41e-07/1.606, allocations: 0 / 0.8258 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4078/2.014, allocations: 126.2 MB / 0.949 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/21.14, allocations: 6.391 kB / 0.949 GB, free: 141.8 MB / 0.5138 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches