Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09338, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01118/0.1046, allocations: 10.03 MB / 428.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006641/0.1112, allocations: 3.357 MB / 431.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.1128, allocations: 83.56 kB / 432 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008844/0.1217, allocations: 3.853 MB / 435.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.1267, allocations: 1.523 MB / 437.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1292, allocations: 1.058 MB / 438.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2585/0.3876, allocations: 9.129 MB / 447.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02336/0.411, allocations: 15.79 MB / 463.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008804/0.4198, allocations: 5.154 MB / 468.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.4301, allocations: 6.127 MB / 474.6 MB, free: 40 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004856/0.4349, allocations: 1.398 MB / 476 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/0.4413, allocations: 1.646 MB / 477.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005627/0.4469, allocations: 2.933 MB / 480.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01082/0.4577, allocations: 5.455 MB / 486 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02321/0.4809, allocations: 18.87 MB / 0.4931 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.481, allocations: 4 kB / 0.4931 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.481, allocations: 4 kB / 0.4931 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000465/0.4814, allocations: 0 / 0.4931 GB, free: 10.63 MB / 398.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.03577/0.5172, allocations: 12.47 MB / 0.5053 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.5172, allocations: 15.89 kB / 0.5053 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000294/0.5175, allocations: 242.4 kB / 0.5055 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004274/0.5218, allocations: 1.327 MB / 0.5068 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0473/0.5691, allocations: 8.537 MB / 0.5151 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.5827, allocations: 5.9 MB / 0.5209 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006897/0.5834, allocations: 0.6572 MB / 0.5215 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003548/0.587, allocations: 0.8645 MB / 0.5224 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/0.6231, allocations: 15.99 MB / 0.538 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.6233, allocations: 11.95 kB / 0.538 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001636/0.6249, allocations: 369.7 kB / 0.5384 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005654/0.6255, allocations: 0.5543 MB / 0.5389 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03083/0.6563, allocations: 15.72 MB / 0.5543 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08114/0.7375, allocations: 47.84 MB / 0.601 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02162/0.7591, allocations: 18.86 MB / 0.6194 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005486/0.7646, allocations: 3.246 MB / 0.6226 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.765, allocations: 181.2 kB / 0.6227 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/0.7651, allocations: 94.22 kB / 0.6228 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=468): time 6.082e-06/0.7651, allocations: 0 / 0.6228 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=468): time 0.02462/0.7898, allocations: 11.51 MB / 0.6341 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.7899, allocations: 125.1 kB / 0.6342 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/0.7959, allocations: 3.855 MB / 0.638 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007429/0.7966, allocations: 101.7 kB / 0.638 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.3434/1.14, allocations: 4.039 MB / 0.642 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.142, allocations: 1.687 MB / 0.6436 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/1.144, allocations: 1.478 MB / 0.6451 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/1.144, allocations: 308.6 kB / 0.6454 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/1.149, allocations: 3.686 MB / 0.649 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006899/1.156, allocations: 6.517 MB / 0.6553 GB, free: 165 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.169, allocations: 10.83 MB / 0.6659 GB, free: 158 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.169, allocations: 30.28 kB / 0.6659 GB, free: 158 MB / 0.5294 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02275/1.192, allocations: 11.92 MB / 0.6776 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.192, allocations: 45.31 kB / 0.6776 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/1.192, allocations: 94.12 kB / 0.6777 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/1.197, allocations: 1.626 MB / 0.6793 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/1.202, allocations: 1.664 MB / 0.6809 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/1.218, allocations: 17.67 MB / 0.6982 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.223, allocations: 0.9805 MB / 0.6991 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.224, allocations: 354.3 kB / 0.6995 GB, free: 140 MB / 0.5294 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.005117/1.229, allocations: 3.755 MB / 0.7032 GB, free: 138 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/1.23, allocations: 417.3 kB / 0.7036 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.242, allocations: 8.523 MB / 0.7119 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.242, allocations: 49.97 kB / 0.7119 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/1.242, allocations: 12 kB / 0.7119 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-05/1.242, allocations: 23.91 kB / 0.712 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.266, allocations: 16.74 MB / 0.7283 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.266, allocations: 3.984 kB / 0.7283 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/1.27, allocations: 0.862 MB / 0.7291 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004305/1.274, allocations: 1.514 MB / 0.7306 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000723/1.275, allocations: 114.3 kB / 0.7307 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/1.289, allocations: 17.48 MB / 0.7478 GB, free: 93.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.289, allocations: 4 kB / 0.7478 GB, free: 93.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.304, allocations: 12.21 MB / 0.7597 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.307, allocations: 1.12 MB / 0.7608 GB, free: 79.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/1.307, allocations: 83.98 kB / 0.7609 GB, free: 79.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/1.31, allocations: 307.7 kB / 0.7612 GB, free: 79.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/1.31, allocations: 315.6 kB / 0.7615 GB, free: 78.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/1.311, allocations: 132 kB / 0.7616 GB, free: 78.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002927/1.314, allocations: 2.582 MB / 0.7642 GB, free: 76.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.314, allocations: 4 kB / 0.7642 GB, free: 76.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007266/1.321, allocations: 2.406 MB / 0.7665 GB, free: 73.89 MB / 0.5294 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.01601/1.337, allocations: 12.92 MB / 0.7791 GB, free: 60.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.35, allocations: 8.991 MB / 0.7879 GB, free: 51.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.35, allocations: 10.05 kB / 0.7879 GB, free: 51.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006385/1.356, allocations: 4.174 MB / 0.792 GB, free: 47.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/1.361, allocations: 0.7419 MB / 0.7927 GB, free: 46.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2896/1.65, allocations: 61.3 MB / 0.8526 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007355/1.658, allocations: 6.043 MB / 0.8585 GB, free: 173.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007556/1.665, allocations: 3.253 MB / 0.8617 GB, free: 173.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004139/1.669, allocations: 3.045 MB / 0.8646 GB, free: 173.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/1.669, allocations: 0 / 0.8646 GB, free: 173.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/1.836, allocations: 126.6 MB / 0.9883 GB, free: 69.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/20.73, allocations: 12.48 kB / 0.9883 GB, free: 69.45 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 31.281980975996703]