Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00842/0.1137, allocations: 6.68 MB / 433.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.1184, allocations: 2.266 MB / 436 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1194, allocations: 63.62 kB / 436 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1205, allocations: 385.5 kB / 436.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1228, allocations: 0.8472 MB / 437.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000894/0.1237, allocations: 358.9 kB / 437.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.1279, allocations: 3.188 MB / 440.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.1302, allocations: 1.496 MB / 442.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1323, allocations: 1.328 MB / 443.6 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.1347, allocations: 1.654 MB / 445.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.1351, allocations: 296 kB / 445.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008989/0.136, allocations: 431.8 kB / 446 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007651/0.1368, allocations: 0.8529 MB / 446.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2049/0.3417, allocations: 1.461 MB / 448.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.3473, allocations: 4.115 MB / 452.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3473, allocations: 0 / 452.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3473, allocations: 0 / 452.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001613/0.3474, allocations: 3.906 kB / 452.4 MB, free: 11.18 MB / 366.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.01117/0.3586, allocations: 3.553 MB / 456 MB, free: 9.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3587, allocations: 10.92 kB / 456 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001013/0.3588, allocations: 60.89 kB / 456 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006084/0.3594, allocations: 336 kB / 456.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.3637, allocations: 0.7517 MB / 457.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.3679, allocations: 1.741 MB / 458.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3681, allocations: 168.4 kB / 459 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/0.3687, allocations: 239.3 kB / 459.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006115/0.3748, allocations: 3.205 MB / 462.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.3749, allocations: 1.125 kB / 462.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.3751, allocations: 91.16 kB / 462.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/0.3752, allocations: 73.97 kB / 462.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004706/0.3799, allocations: 2.87 MB / 465.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.3934, allocations: 9.174 MB / 474.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004745/0.3981, allocations: 4.324 MB / 479 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3995, allocations: 0.7548 MB / 479.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005532/0.405, allocations: 3.156 MB / 482.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.405, allocations: 51.72 kB / 482.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/0.405, allocations: 1.156 kB / 482.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008403/0.4134, allocations: 4.279 MB / 487.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.4135, allocations: 112.9 kB / 487.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.4157, allocations: 1.621 MB / 489 MB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4158, allocations: 48.48 kB / 489 MB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/0.4167, allocations: 1.144 MB / 490.1 MB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.417, allocations: 370.3 kB / 490.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.4173, allocations: 238.1 kB / 490.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4175, allocations: 356.8 kB / 491.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009548/0.4184, allocations: 0.6358 MB / 491.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.4197, allocations: 1.013 MB / 492.7 MB, free: 4.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.4219, allocations: 1.704 MB / 494.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/0.4219, allocations: 4.5 kB / 494.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003177/0.4251, allocations: 1.951 MB / 496.4 MB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.4251, allocations: 14.5 kB / 496.4 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.4251, allocations: 16.17 kB / 496.4 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.4255, allocations: 121.5 kB / 496.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.4268, allocations: 335.4 kB / 496.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.43, allocations: 3.439 MB / 0.4886 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.4311, allocations: 99.73 kB / 0.4887 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4312, allocations: 59.98 kB / 0.4887 GB, free: 13.75 MB / 398.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.001434/0.4327, allocations: 0.8292 MB / 0.4895 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.433, allocations: 163 kB / 0.4897 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.4356, allocations: 1.384 MB / 0.4911 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.4356, allocations: 12 kB / 0.4911 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4357, allocations: 7.938 kB / 0.4911 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4357, allocations: 5.203 kB / 0.4911 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.4399, allocations: 2.447 MB / 0.4935 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4399, allocations: 2.516 kB / 0.4935 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.4407, allocations: 193 kB / 0.4937 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006662/0.4414, allocations: 257.1 kB / 0.4939 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.4414, allocations: 31.98 kB / 0.4939 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.4476, allocations: 6.262 MB / 0.5 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4476, allocations: 0 / 0.5 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/0.452, allocations: 2.563 MB / 0.5026 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.4527, allocations: 256 kB / 0.5028 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.4529, allocations: 31.92 kB / 0.5028 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.4539, allocations: 91.91 kB / 0.5029 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.4541, allocations: 102.9 kB / 0.503 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.4542, allocations: 27.98 kB / 0.503 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.456, allocations: 1.135 MB / 0.5041 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 0.5041 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001745/0.4577, allocations: 444 kB / 0.5046 GB, free: 13.09 MB / 414.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.004584/0.4623, allocations: 3.173 MB / 0.5077 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.4654, allocations: 1.67 MB / 0.5093 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4654, allocations: 0 / 0.5093 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.4674, allocations: 1.152 MB / 0.5104 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.4691, allocations: 284.7 kB / 0.5107 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/0.4985, allocations: 17.44 MB / 0.5277 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.5008, allocations: 2.105 MB / 0.5298 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001507/0.5023, allocations: 453.2 kB / 0.5302 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.5035, allocations: 0.8312 MB / 0.531 GB, free: 1.527 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5035, allocations: 0 / 0.531 GB, free: 1.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08687/0.5903, allocations: 38.7 MB / 0.5688 GB, free: 11.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.09, allocations: 8 kB / 0.5688 GB, free: 11.26 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.340291992994025]