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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 120 kB / 18.45 MB, free: 4.605 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.001772/0.001772, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001735/0.001735, allocations: 59.91 kB / 342.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.0881, allocations: 49.11 MB / 391.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01183/0.09993, allocations: 9.972 MB / 401.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006988/0.1069, allocations: 3.369 MB / 404.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1084, allocations: 63.81 kB / 404.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00942/0.1178, allocations: 3.855 MB / 408.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.1226, allocations: 1.423 MB / 410.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.1254, allocations: 1.153 MB / 411.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.1362, allocations: 9.142 MB / 420.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02466/0.1609, allocations: 15.8 MB / 436.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008239/0.1691, allocations: 5.066 MB / 441.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.1796, allocations: 6.13 MB / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00384/0.1835, allocations: 1.395 MB / 448.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005924/0.1894, allocations: 1.636 MB / 450.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.1946, allocations: 2.926 MB / 453.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.205, allocations: 5.455 MB / 458.8 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.219/0.424, allocations: 18.74 MB / 477.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.424, allocations: 1.031 kB / 477.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.424, allocations: 0 / 477.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007292/0.4247, allocations: 0 / 477.5 MB, free: 36.45 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.04523/0.4699, allocations: 12.46 MB / 490 MB, free: 29.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.47, allocations: 16.05 kB / 490 MB, free: 29.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006566/0.4765, allocations: 1.328 MB / 491.3 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04644/0.523, allocations: 8.535 MB / 499.8 MB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/0.5383, allocations: 5.413 MB / 0.4934 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/0.5388, allocations: 0.6636 MB / 0.4941 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004708/0.5435, allocations: 0.8583 MB / 0.4949 GB, free: 20.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04298/0.5865, allocations: 15.98 MB / 0.5105 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/0.587, allocations: 7.953 kB / 0.5105 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004573/0.5916, allocations: 373.9 kB / 0.5109 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000508/0.5921, allocations: 0.5619 MB / 0.5114 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03776/0.6298, allocations: 15.71 MB / 0.5268 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/0.7349, allocations: 47.85 MB / 0.5735 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/0.758, allocations: 18.83 MB / 0.5919 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006143/0.7641, allocations: 3.245 MB / 0.595 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.7646, allocations: 179.7 kB / 0.5952 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.424e-05/0.7647, allocations: 82.56 kB / 0.5953 GB, free: 10.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.683e-06/0.7647, allocations: 2.625 kB / 0.5953 GB, free: 10.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02728/0.792, allocations: 11.52 MB / 0.6065 GB, free: 15.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.7921, allocations: 129 kB / 0.6067 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007939/0.8, allocations: 3.851 MB / 0.6104 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009426/0.801, allocations: 104.3 kB / 0.6105 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003892/0.8049, allocations: 4.044 MB / 0.6145 GB, free: 7.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002672/0.8076, allocations: 1.681 MB / 0.6161 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004875/0.8124, allocations: 1.477 MB / 0.6176 GB, free: 4.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8126, allocations: 313.1 kB / 0.6178 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/0.8199, allocations: 3.684 MB / 0.6214 GB, free: 20 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/0.831, allocations: 6.524 MB / 0.6278 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.8478, allocations: 10.83 MB / 0.6384 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.8e-05/0.8479, allocations: 24 kB / 0.6384 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02632/0.8742, allocations: 11.92 MB / 0.6501 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/0.8743, allocations: 51.91 kB / 0.6501 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.8744, allocations: 92 kB / 0.6502 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2003/1.075, allocations: 1.62 MB / 0.6518 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006652/1.081, allocations: 1.67 MB / 0.6534 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/1.098, allocations: 17.66 MB / 0.6707 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006215/1.104, allocations: 0.9772 MB / 0.6716 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.106, allocations: 359.4 kB / 0.672 GB, free: 166.8 MB / 0.5137 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.006606/1.112, allocations: 3.761 MB / 0.6756 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008657/1.113, allocations: 418.2 kB / 0.676 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.126, allocations: 8.522 MB / 0.6843 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/1.126, allocations: 48.5 kB / 0.6844 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/1.126, allocations: 11.22 kB / 0.6844 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/1.126, allocations: 29.09 kB / 0.6844 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.156, allocations: 16.76 MB / 0.7008 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.156, allocations: 4 kB / 0.7008 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.159, allocations: 0.8603 MB / 0.7016 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004084/1.163, allocations: 1.51 MB / 0.7031 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007044/1.164, allocations: 108 kB / 0.7032 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.179, allocations: 17.48 MB / 0.7203 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.179, allocations: 0 / 0.7203 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.196, allocations: 12.2 MB / 0.7322 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/1.199, allocations: 1.122 MB / 0.7333 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.2, allocations: 84 kB / 0.7334 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.203, allocations: 307.7 kB / 0.7337 GB, free: 115.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/1.204, allocations: 324.9 kB / 0.734 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003503/1.205, allocations: 136.1 kB / 0.7341 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003891/1.208, allocations: 2.57 MB / 0.7366 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.208, allocations: 0 / 0.7366 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008778/1.217, allocations: 2.407 MB / 0.739 GB, free: 110.5 MB / 0.5137 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.01685/1.234, allocations: 12.93 MB / 0.7516 GB, free: 97.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.248, allocations: 8.995 MB / 0.7604 GB, free: 88.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/1.248, allocations: 4 kB / 0.7604 GB, free: 88.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006464/1.255, allocations: 4.168 MB / 0.7645 GB, free: 83.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/1.259, allocations: 0.7451 MB / 0.7652 GB, free: 83.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09151/1.35, allocations: 61.31 MB / 0.8251 GB, free: 17.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008372/1.359, allocations: 6.049 MB / 0.831 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007343/1.366, allocations: 3.251 MB / 0.8341 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/1.371, allocations: 3.042 MB / 0.8371 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/1.371, allocations: 1.203 kB / 0.8371 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3865/1.757, allocations: 126.5 MB / 0.9607 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.74/21.5, allocations: 19.38 kB / 0.9607 GB, free: 106.1 MB / 0.5294 GB " [Timeout remaining time 638] (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 --stepSize=0.01 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 28.783306162338704]