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.001125/0.001125, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001169/0.001169, allocations: 191 kB / 18.66 MB, free: 4.438 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.31/1.31, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001311/0.001311, allocations: 47.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08381, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1717/0.2555, allocations: 9.926 MB / 384.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006281/0.2618, allocations: 3.345 MB / 387.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.2637, allocations: 61.66 kB / 388 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007939/0.2717, allocations: 3.829 MB / 391.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.276, allocations: 1.405 MB / 393.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2784, allocations: 1.142 MB / 394.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009517/0.2879, allocations: 9.14 MB / 403.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0253/0.3133, allocations: 20.33 MB / 423.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007969/0.3213, allocations: 5.07 MB / 428.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009074/0.3304, allocations: 6.083 MB / 435 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002985/0.3334, allocations: 1.395 MB / 436.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.338, allocations: 1.64 MB / 438 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.3415, allocations: 2.919 MB / 440.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008271/0.3497, allocations: 5.451 MB / 446.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.3681, allocations: 18.7 MB / 465.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3681, allocations: 0 / 465.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3681, allocations: 0 / 465.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003664/0.3685, allocations: 0 / 465.1 MB, free: 5.391 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.03504/0.4035, allocations: 12.25 MB / 477.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4036, allocations: 15.89 kB / 477.4 MB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004672/0.4083, allocations: 1.324 MB / 478.7 MB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04952/0.4578, allocations: 8.506 MB / 487.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.4718, allocations: 5.392 MB / 492.6 MB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/0.4725, allocations: 0.6623 MB / 493.2 MB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003368/0.4758, allocations: 0.8632 MB / 494.1 MB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03683/0.5127, allocations: 15.97 MB / 0.4981 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003924/0.5131, allocations: 11.89 kB / 0.4981 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002936/0.5161, allocations: 372 kB / 0.4985 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/0.5167, allocations: 0.5621 MB / 0.499 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/0.5477, allocations: 15.72 MB / 0.5144 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3955/0.9433, allocations: 47.71 MB / 0.561 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.9611, allocations: 19.33 MB / 0.5798 GB, free: 106.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/0.966, allocations: 3.586 MB / 0.5834 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.9664, allocations: 188.5 kB / 0.5835 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.9664, allocations: 91.78 kB / 0.5836 GB, free: 106 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.603e-06/0.9665, allocations: 0 / 0.5836 GB, free: 106 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.021/0.9875, allocations: 11.54 MB / 0.5949 GB, free: 103.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.9876, allocations: 126.5 kB / 0.595 GB, free: 103.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.9924, allocations: 3.848 MB / 0.5988 GB, free: 102 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006962/0.9931, allocations: 100.7 kB / 0.5989 GB, free: 101.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.9948, allocations: 3.898 MB / 0.6027 GB, free: 99.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.9961, allocations: 1.608 MB / 0.6042 GB, free: 97.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/0.998, allocations: 1.468 MB / 0.6057 GB, free: 97.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.998, allocations: 305.1 kB / 0.606 GB, free: 96.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/1.002, allocations: 3.685 MB / 0.6096 GB, free: 95.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/1.008, allocations: 6.519 MB / 0.6159 GB, free: 90.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.018, allocations: 10.83 MB / 0.6265 GB, free: 82.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-05/1.018, allocations: 29.03 kB / 0.6265 GB, free: 82.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01796/1.036, allocations: 11.95 MB / 0.6382 GB, free: 71.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/1.036, allocations: 44 kB / 0.6382 GB, free: 71.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.036, allocations: 95.98 kB / 0.6383 GB, free: 71.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/1.041, allocations: 1.624 MB / 0.6399 GB, free: 69.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/1.047, allocations: 1.665 MB / 0.6415 GB, free: 68.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.063, allocations: 17.65 MB / 0.6588 GB, free: 49.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/1.069, allocations: 0.9562 MB / 0.6597 GB, free: 48.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.07, 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.008284/1.078, allocations: 3.754 MB / 0.6637 GB, free: 44.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.08, allocations: 395.1 kB / 0.6641 GB, free: 44.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.094, allocations: 8.557 MB / 0.6725 GB, free: 35.47 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/1.094, allocations: 48 kB / 0.6725 GB, free: 35.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-05/1.094, allocations: 16 kB / 0.6725 GB, free: 35.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/1.094, allocations: 31.83 kB / 0.6725 GB, free: 35.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03272/1.127, allocations: 16.79 MB / 0.6889 GB, free: 18.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/1.127, allocations: 8.062 kB / 0.689 GB, free: 18.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/1.131, allocations: 0.862 MB / 0.6898 GB, free: 17.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004501/1.135, allocations: 1.507 MB / 0.6913 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/1.136, allocations: 107.9 kB / 0.6914 GB, free: 16.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.153, allocations: 17.47 MB / 0.7084 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.153, allocations: 7.938 kB / 0.7084 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/1.177, allocations: 12.22 MB / 0.7204 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.18, allocations: 1.1 MB / 0.7214 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.182, allocations: 84 kB / 0.7215 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.185, allocations: 315.6 kB / 0.7218 GB, free: 15.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.186, allocations: 315.5 kB / 0.7221 GB, free: 15.49 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006827/1.187, allocations: 144 kB / 0.7223 GB, free: 15.35 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00477/1.192, allocations: 2.57 MB / 0.7248 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.7e-07/1.192, allocations: 0 / 0.7248 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008649/1.201, allocations: 2.373 MB / 0.7271 GB, free: 10.4 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.02373/1.224, allocations: 12.96 MB / 0.7397 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.243, allocations: 9.384 MB / 0.7489 GB, free: 3.727 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.243, allocations: 5.875 kB / 0.7489 GB, free: 3.723 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.1968/1.439, allocations: 4.456 MB / 0.7533 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/1.444, allocations: 0.7442 MB / 0.754 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/1.565, allocations: 61.14 MB / 0.8137 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009443/1.574, allocations: 6.051 MB / 0.8196 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007541/1.582, allocations: 3.256 MB / 0.8228 GB, free: 132 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004757/1.587, allocations: 3.042 MB / 0.8258 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of SimCode: time 7.91e-07/1.587, allocations: 0 / 0.8258 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4024/1.989, allocations: 126.2 MB / 0.949 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.65/23.64, allocations: 8 kB / 0.949 GB, free: 142.4 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