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.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.005583/0.005583, allocations: 99.77 kB / 21.96 MB, free: 5.211 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.001542/0.001542, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.367/1.367, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.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.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 55.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2601, allocations: 49.15 MB / 397.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008568/0.2687, allocations: 8.624 MB / 405.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.2748, allocations: 3.211 MB / 409 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.2758, allocations: 67.88 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008068/0.2839, allocations: 3.593 MB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.2882, allocations: 1.432 MB / 414.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.2909, allocations: 1.11 MB / 415.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3017, allocations: 9.211 MB / 424.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02063/0.3223, allocations: 12.95 MB / 437.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008171/0.3305, allocations: 5.183 MB / 442.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.3407, allocations: 6.145 MB / 448.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003392/0.3441, allocations: 1.398 MB / 450.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.3493, allocations: 1.629 MB / 451.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003951/0.3533, allocations: 2.927 MB / 454.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008141/0.3614, allocations: 4.269 MB / 458.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.3813, allocations: 18.83 MB / 477.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3813, allocations: 0 / 477.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3813, allocations: 0 / 477.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000439/0.3817, allocations: 0 / 477.7 MB, free: 2.246 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.0364/0.4181, allocations: 12.39 MB / 490.1 MB, free: 5.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.4182, allocations: 15.98 kB / 490.1 MB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003246/0.4185, allocations: 242.4 kB / 490.4 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004803/0.4233, allocations: 1.332 MB / 491.7 MB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04721/0.4705, allocations: 8.538 MB / 0.4885 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.484, allocations: 5.505 MB / 0.4939 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007652/0.4847, allocations: 0.6584 MB / 0.4945 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.4883, allocations: 0.8671 MB / 0.4954 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03955/0.5279, allocations: 16.22 MB / 0.5112 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000404/0.5283, allocations: 11.95 kB / 0.5112 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/0.5316, allocations: 371.9 kB / 0.5116 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006671/0.5322, allocations: 0.5582 MB / 0.5121 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03431/0.5665, allocations: 15.71 MB / 0.5275 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4826/1.049, allocations: 42.99 MB / 0.5694 GB, free: 118.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/1.065, allocations: 8.43 MB / 0.5777 GB, free: 117.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005866/1.071, allocations: 3.243 MB / 0.5808 GB, free: 117.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.072, allocations: 86.38 kB / 0.5809 GB, free: 117.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.591e-05/1.072, allocations: 82.81 kB / 0.581 GB, free: 117.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 9.578e-06/1.072, allocations: 3.938 kB / 0.581 GB, free: 117.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02014/1.092, allocations: 11.07 MB / 0.5918 GB, free: 114.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/1.092, allocations: 131.5 kB / 0.5919 GB, free: 114.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/1.097, allocations: 3.843 MB / 0.5957 GB, free: 113.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008321/1.098, allocations: 104.8 kB / 0.5958 GB, free: 113.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.101, allocations: 4.044 MB / 0.5997 GB, free: 110.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.103, allocations: 1.691 MB / 0.6014 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002244/1.105, allocations: 1.477 MB / 0.6028 GB, free: 108.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/1.105, allocations: 301.1 kB / 0.6031 GB, free: 108.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/1.109, allocations: 3.69 MB / 0.6067 GB, free: 106.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/1.115, allocations: 6.524 MB / 0.6131 GB, free: 100.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009933/1.125, allocations: 10.83 MB / 0.6237 GB, free: 90.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.125, allocations: 28 kB / 0.6237 GB, free: 90.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01739/1.143, allocations: 11.93 MB / 0.6353 GB, free: 78.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/1.143, allocations: 47.94 kB / 0.6354 GB, free: 78.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.143, allocations: 96 kB / 0.6355 GB, free: 78.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/1.147, allocations: 1.62 MB / 0.6371 GB, free: 76.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.153, allocations: 1.661 MB / 0.6387 GB, free: 75.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.167, allocations: 16.86 MB / 0.6552 GB, free: 57.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006587/1.174, allocations: 0.9782 MB / 0.6561 GB, free: 56.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.176, allocations: 356 kB / 0.6565 GB, free: 56.32 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.008098/1.184, allocations: 3.754 MB / 0.6601 GB, free: 52.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.185, allocations: 421.3 kB / 0.6605 GB, free: 52.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.197, allocations: 8.514 MB / 0.6688 GB, free: 43.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/1.197, allocations: 51.94 kB / 0.6689 GB, free: 43.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.643e-05/1.197, allocations: 12 kB / 0.6689 GB, free: 43.47 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/1.197, allocations: 23.91 kB / 0.6689 GB, free: 43.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.222, allocations: 16.18 MB / 0.6847 GB, free: 27.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.222, allocations: 4 kB / 0.6847 GB, free: 27.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.225, allocations: 0.8581 MB / 0.6856 GB, free: 26.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003986/1.229, allocations: 1.507 MB / 0.687 GB, free: 24.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005191/1.23, allocations: 99.97 kB / 0.6871 GB, free: 24.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/1.244, allocations: 16.69 MB / 0.7034 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.244, allocations: 7.938 kB / 0.7034 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.262, allocations: 12.21 MB / 0.7154 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/1.266, allocations: 1.078 MB / 0.7164 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009789/1.267, allocations: 88 kB / 0.7165 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/1.269, allocations: 307.7 kB / 0.7168 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008423/1.27, allocations: 343.3 kB / 0.7171 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.27, allocations: 132 kB / 0.7172 GB, free: 9.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004613/1.275, allocations: 2.574 MB / 0.7198 GB, free: 6.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.275, allocations: 0 / 0.7198 GB, free: 6.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0106/1.286, allocations: 2.4 MB / 0.7221 GB, free: 4.047 MB / 494.1 MB 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.0212/1.307, allocations: 12.92 MB / 0.7347 GB, free: 6.898 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01655/1.323, allocations: 8.993 MB / 0.7435 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.323, allocations: 0 / 0.7435 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008322/1.332, allocations: 4.179 MB / 0.7476 GB, free: 9.535 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/1.337, allocations: 0.742 MB / 0.7483 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3158/1.653, allocations: 61.44 MB / 0.8083 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005547/1.658, allocations: 5.578 MB / 0.8138 GB, free: 134 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006475/1.665, allocations: 3.255 MB / 0.8169 GB, free: 130.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004419/1.669, allocations: 3.042 MB / 0.8199 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of SimCode: time 2.094e-06/1.669, allocations: 4 kB / 0.8199 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.178/1.847, allocations: 131.1 MB / 0.9479 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.7/22.55, allocations: 7.922 kB / 0.948 GB, free: 12.47 MB / 0.5294 GB " [Timeout remaining time 637] (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/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) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 33.19545308302622]