Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 59.91 kB / 377.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3033, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01234/0.3156, allocations: 10.07 MB / 441.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008063/0.3237, allocations: 3.431 MB / 444.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.3264, allocations: 83.62 kB / 444.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.3369, allocations: 3.885 MB / 448.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.3432, allocations: 1.555 MB / 450.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.3466, allocations: 1.089 MB / 451.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01405/0.3607, allocations: 9.344 MB / 460.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03115/0.3918, allocations: 12.95 MB / 473.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.4028, allocations: 5.167 MB / 478.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01306/0.4158, allocations: 6.161 MB / 484.9 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005086/0.4209, allocations: 1.395 MB / 486.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/0.4269, allocations: 1.664 MB / 488 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005383/0.4322, allocations: 2.93 MB / 490.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.4426, allocations: 5.447 MB / 496.4 MB, free: 5.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02314/0.4658, allocations: 18.91 MB / 0.5032 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4658, allocations: 0 / 0.5032 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4658, allocations: 0 / 0.5032 GB, free: 2.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000551/0.4663, allocations: 11.81 kB / 0.5032 GB, free: 2.254 MB / 414.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.04091/0.5072, allocations: 12.38 MB / 0.5153 GB, free: 5.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.5073, allocations: 12.03 kB / 0.5153 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005/0.5123, allocations: 1.328 MB / 0.5166 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04737/0.5597, allocations: 8.425 MB / 0.5248 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.5752, allocations: 6.023 MB / 0.5307 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006859/0.5758, allocations: 0.6623 MB / 0.5314 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/0.5795, allocations: 0.8671 MB / 0.5322 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4552/1.035, allocations: 16.02 MB / 0.5478 GB, free: 80.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/1.035, allocations: 10.89 kB / 0.5479 GB, free: 80.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.036, allocations: 367 kB / 0.5482 GB, free: 80.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/1.036, allocations: 0.5623 MB / 0.5488 GB, free: 80.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/1.059, allocations: 15.77 MB / 0.5642 GB, free: 71.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/1.123, allocations: 46.68 MB / 0.6097 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.135, allocations: 8.51 MB / 0.6181 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.139, allocations: 3.246 MB / 0.6212 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/1.139, allocations: 146.5 kB / 0.6214 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.139, allocations: 82.56 kB / 0.6214 GB, free: 13.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.222e-06/1.139, allocations: 0 / 0.6214 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01928/1.158, allocations: 11.11 MB / 0.6323 GB, free: 2.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.158, allocations: 129.1 kB / 0.6324 GB, free: 2.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/1.164, allocations: 3.85 MB / 0.6362 GB, free: 14.51 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.164, allocations: 101.7 kB / 0.6363 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003496/1.168, allocations: 4.051 MB / 0.6402 GB, free: 10.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.17, allocations: 1.685 MB / 0.6419 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002617/1.173, allocations: 1.492 MB / 0.6433 GB, free: 7.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/1.173, allocations: 301.1 kB / 0.6436 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00584/1.179, allocations: 3.695 MB / 0.6472 GB, free: 3.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008889/1.188, allocations: 6.535 MB / 0.6536 GB, free: 11.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/1.204, allocations: 10.85 MB / 0.6642 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.204, allocations: 31.94 kB / 0.6642 GB, free: 15.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0235/1.228, allocations: 11.96 MB / 0.6759 GB, free: 3.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/1.228, allocations: 46.5 kB / 0.676 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.228, allocations: 95.94 kB / 0.676 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/1.233, allocations: 1.621 MB / 0.6776 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/1.239, allocations: 1.673 MB / 0.6793 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/1.261, allocations: 17.06 MB / 0.6959 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.269, allocations: 0.9664 MB / 0.6969 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.271, allocations: 371.9 kB / 0.6972 GB, free: 12.95 MB / 0.5138 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.008437/1.279, allocations: 3.75 MB / 0.7009 GB, free: 9.184 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009703/1.28, allocations: 413.3 kB / 0.7013 GB, free: 8.777 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/1.296, allocations: 8.53 MB / 0.7096 GB, free: 164 kB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/1.296, allocations: 51.94 kB / 0.7097 GB, free: 112 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-05/1.296, allocations: 12 kB / 0.7097 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/1.296, allocations: 23.91 kB / 0.7097 GB, free: 76 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03283/1.329, allocations: 16.86 MB / 0.7262 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/1.329, allocations: 4 kB / 0.7262 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004369/1.334, allocations: 0.8659 MB / 0.727 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004974/1.339, allocations: 1.51 MB / 0.7285 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009745/1.34, allocations: 112 kB / 0.7286 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2376/1.577, allocations: 16.86 MB / 0.745 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.577, allocations: 11.22 kB / 0.7451 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.593, allocations: 12.24 MB / 0.757 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/1.596, allocations: 1.092 MB / 0.7581 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/1.596, allocations: 83.75 kB / 0.7582 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.599, allocations: 301 kB / 0.7584 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/1.599, allocations: 341.7 kB / 0.7588 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.599, allocations: 145.9 kB / 0.7589 GB, free: 168.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003126/1.603, allocations: 2.573 MB / 0.7614 GB, free: 167.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.603, allocations: 0 / 0.7614 GB, free: 167.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006083/1.609, allocations: 2.401 MB / 0.7638 GB, free: 167.4 MB / 0.545 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.01534/1.624, allocations: 12.97 MB / 0.7764 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.636, allocations: 9.019 MB / 0.7852 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.636, allocations: 0 / 0.7852 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006033/1.642, allocations: 4.177 MB / 0.7893 GB, free: 151 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.646, allocations: 0.7399 MB / 0.79 GB, free: 150.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07699/1.723, allocations: 61.41 MB / 0.85 GB, free: 86.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005028/1.728, allocations: 6.05 MB / 0.8559 GB, free: 80.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005965/1.734, allocations: 3.255 MB / 0.8591 GB, free: 76.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003898/1.737, allocations: 3.069 MB / 0.8621 GB, free: 73.92 MB / 0.545 GB Notification: Performance of SimCode: time 1.312e-06/1.737, allocations: 0 / 0.8621 GB, free: 73.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4144/2.152, allocations: 133.8 MB / 0.9928 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.9/24.06, allocations: 0 / 0.9928 GB, free: 168.9 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 30.94125400809571]