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.001303/0.001303, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001343/0.001343, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.496/1.496, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.002215/0.002215, allocations: 71.86 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 53.32 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1849/0.2952, allocations: 10.05 MB / 436.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.302, allocations: 3.398 MB / 440.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.3041, allocations: 78.5 kB / 440.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008356/0.3124, allocations: 3.868 MB / 444.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.317, allocations: 1.489 MB / 445.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3196, allocations: 1.064 MB / 446.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3316, allocations: 9.262 MB / 455.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02664/0.3582, allocations: 15.81 MB / 471.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00886/0.3671, allocations: 5.074 MB / 476.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009954/0.3771, allocations: 6.142 MB / 482.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002459/0.3795, allocations: 1.395 MB / 484.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3832, allocations: 1.66 MB / 486 MB, free: 5.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002757/0.386, allocations: 2.934 MB / 488.9 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007375/0.3934, allocations: 5.444 MB / 494.3 MB, free: 13.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.4149, allocations: 18.91 MB / 0.5012 GB, free: 10.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4149, allocations: 0 / 0.5012 GB, free: 10.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4149, allocations: 4 kB / 0.5012 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004671/0.4154, allocations: 0 / 0.5012 GB, free: 10.55 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.03456/0.4499, allocations: 12.46 MB / 0.5134 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.45, allocations: 12.03 kB / 0.5134 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004195/0.4542, allocations: 1.324 MB / 0.5147 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04893/0.5031, allocations: 8.421 MB / 0.5229 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.5183, allocations: 5.919 MB / 0.5287 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/0.519, allocations: 0.6584 MB / 0.5293 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004181/0.5232, allocations: 0.8671 MB / 0.5302 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03456/0.5577, allocations: 16.02 MB / 0.5458 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.5579, allocations: 11.94 kB / 0.5458 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.5594, allocations: 369.4 kB / 0.5462 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005725/0.5599, allocations: 0.5543 MB / 0.5467 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03123/0.5912, allocations: 15.78 MB / 0.5621 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08357/0.6747, allocations: 48.67 MB / 0.6097 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3674/1.042, allocations: 18.86 MB / 0.6281 GB, free: 139.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005426/1.048, allocations: 3.247 MB / 0.6313 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/1.048, allocations: 302.1 kB / 0.6316 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/1.048, allocations: 93.09 kB / 0.6316 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 6.382e-06/1.048, allocations: 0 / 0.6316 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02365/1.072, allocations: 11.55 MB / 0.6429 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.072, allocations: 125.3 kB / 0.643 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/1.078, allocations: 3.85 MB / 0.6468 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008364/1.078, allocations: 102.4 kB / 0.6469 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.08, allocations: 4.049 MB / 0.6509 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.082, allocations: 1.688 MB / 0.6525 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/1.084, allocations: 1.488 MB / 0.654 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/1.084, allocations: 302.2 kB / 0.6543 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.089, allocations: 3.692 MB / 0.6579 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/1.095, allocations: 6.533 MB / 0.6642 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.105, allocations: 10.86 MB / 0.6748 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.207e-05/1.105, allocations: 27.16 kB / 0.6749 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01707/1.122, allocations: 11.96 MB / 0.6865 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/1.122, allocations: 44 kB / 0.6866 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/1.122, allocations: 96.7 kB / 0.6867 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/1.127, allocations: 1.617 MB / 0.6883 GB, free: 108.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/1.132, allocations: 1.673 MB / 0.6899 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.148, allocations: 17.69 MB / 0.7072 GB, free: 88.63 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/1.153, allocations: 0.9625 MB / 0.7081 GB, free: 87.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.154, allocations: 367.9 kB / 0.7085 GB, free: 87.3 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.005671/1.16, allocations: 3.754 MB / 0.7121 GB, free: 83.54 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/1.161, allocations: 405.4 kB / 0.7125 GB, free: 83.14 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.174, allocations: 8.534 MB / 0.7208 GB, free: 74.52 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.174, allocations: 58.73 kB / 0.7209 GB, free: 74.46 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/1.174, allocations: 15.38 kB / 0.7209 GB, free: 74.45 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/1.174, allocations: 27.84 kB / 0.7209 GB, free: 74.42 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02941/1.203, allocations: 16.78 MB / 0.7373 GB, free: 57.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.203, allocations: 3.391 kB / 0.7373 GB, free: 57.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004445/1.208, allocations: 0.8737 MB / 0.7382 GB, free: 56.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/1.212, allocations: 1.511 MB / 0.7397 GB, free: 55.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007521/1.213, allocations: 112 kB / 0.7398 GB, free: 55.09 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.227, allocations: 17.47 MB / 0.7568 GB, free: 36.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.227, allocations: 4 kB / 0.7568 GB, free: 36.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.243, allocations: 12.25 MB / 0.7688 GB, free: 24.34 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/1.246, allocations: 1.126 MB / 0.7699 GB, free: 23.19 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009667/1.247, allocations: 88.12 kB / 0.77 GB, free: 23.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.25, allocations: 307.7 kB / 0.7703 GB, free: 22.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000801/1.251, allocations: 323.6 kB / 0.7706 GB, free: 22.48 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.251, allocations: 148 kB / 0.7707 GB, free: 22.34 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003785/1.255, allocations: 2.574 MB / 0.7732 GB, free: 19.77 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.255, allocations: 0 / 0.7732 GB, free: 19.77 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007038/1.262, allocations: 2.403 MB / 0.7756 GB, free: 17.36 MB / 0.5138 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.01575/1.278, allocations: 12.98 MB / 0.7883 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.292, allocations: 9.013 MB / 0.7971 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.292, allocations: 4 kB / 0.7971 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007564/1.3, allocations: 4.183 MB / 0.8011 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.304, allocations: 0.7312 MB / 0.8019 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/1.649, allocations: 61.25 MB / 0.8617 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005372/1.654, allocations: 6.044 MB / 0.8676 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006456/1.661, allocations: 3.25 MB / 0.8708 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00415/1.665, allocations: 3.077 MB / 0.8738 GB, free: 142.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.203e-06/1.665, allocations: 0 / 0.8738 GB, free: 142.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/1.846, allocations: 127.2 MB / 0.9979 GB, free: 19.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.17/22.01, allocations: 9.984 kB / 0.998 GB, free: 19.09 MB / 0.545 GB " [Timeout remaining time 638] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 29.443811277858913]