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.001589/0.001589, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001784/0.001784, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.418/1.418, allocations: 230.5 MB / 254.7 MB, free: 15.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.1, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01207/0.1121, allocations: 10.05 MB / 437.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1189, allocations: 3.408 MB / 440.5 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.1204, allocations: 83.62 kB / 440.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008867/0.1293, allocations: 3.867 MB / 444.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.1337, allocations: 1.496 MB / 446 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.1363, allocations: 1.052 MB / 447 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2125/0.3489, allocations: 9.261 MB / 456.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02083/0.3697, allocations: 15.81 MB / 472.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009371/0.3791, allocations: 5.384 MB / 477.5 MB, free: 0 / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.3902, allocations: 6.147 MB / 483.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003909/0.3941, allocations: 1.395 MB / 485 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00597/0.4001, allocations: 1.664 MB / 486.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003926/0.404, allocations: 2.928 MB / 489.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009634/0.4136, allocations: 5.453 MB / 495.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02196/0.4356, allocations: 18.9 MB / 0.5019 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4356, allocations: 0 / 0.5019 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4356, allocations: 0 / 0.5019 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003814/0.436, allocations: 0 / 0.5019 GB, free: 2.039 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.03653/0.4725, allocations: 12.47 MB / 0.5141 GB, free: 5.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4725, allocations: 16.03 kB / 0.5141 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003318/0.4729, allocations: 247 kB / 0.5143 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004533/0.4774, allocations: 1.328 MB / 0.5156 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04892/0.5263, allocations: 8.414 MB / 0.5239 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.5394, allocations: 5.914 MB / 0.5296 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006737/0.54, allocations: 0.6594 MB / 0.5303 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/0.5435, allocations: 0.869 MB / 0.5311 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03977/0.5833, allocations: 16.03 MB / 0.5468 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.5835, allocations: 7.953 kB / 0.5468 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/0.5854, allocations: 369.6 kB / 0.5471 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006035/0.586, allocations: 0.5582 MB / 0.5477 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/0.6168, allocations: 15.76 MB / 0.5631 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08111/0.6979, allocations: 48.68 MB / 0.6106 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/0.719, allocations: 18.87 MB / 0.629 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/0.7241, allocations: 3.246 MB / 0.6322 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.7246, allocations: 304.5 kB / 0.6325 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.402e-05/0.7246, allocations: 86.56 kB / 0.6326 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=468): time 5.701e-06/0.7246, allocations: 0 / 0.6326 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=468): time 0.4039/1.129, allocations: 11.55 MB / 0.6439 GB, free: 163 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/1.129, allocations: 134.1 kB / 0.644 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.135, allocations: 3.847 MB / 0.6477 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008063/1.136, allocations: 103.1 kB / 0.6478 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.139, allocations: 4.046 MB / 0.6518 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/1.141, allocations: 1.69 MB / 0.6534 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/1.143, allocations: 1.493 MB / 0.6549 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/1.143, allocations: 301.1 kB / 0.6552 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005782/1.149, allocations: 3.691 MB / 0.6588 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007261/1.156, allocations: 6.535 MB / 0.6652 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.169, allocations: 10.86 MB / 0.6758 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.169, allocations: 27.25 kB / 0.6758 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01776/1.187, allocations: 11.96 MB / 0.6875 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/1.187, allocations: 49.91 kB / 0.6875 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.187, allocations: 91.78 kB / 0.6876 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/1.192, allocations: 1.621 MB / 0.6892 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005446/1.197, allocations: 1.674 MB / 0.6908 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.212, allocations: 17.67 MB / 0.7081 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.218, allocations: 0.9778 MB / 0.7091 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.219, allocations: 364.8 kB / 0.7094 GB, free: 126.6 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.004827/1.224, allocations: 3.756 MB / 0.7131 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/1.225, allocations: 405.4 kB / 0.7135 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.237, allocations: 8.534 MB / 0.7218 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.237, allocations: 52 kB / 0.7218 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/1.237, allocations: 12 kB / 0.7218 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/1.237, allocations: 23.91 kB / 0.7219 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.259, allocations: 16.79 MB / 0.7383 GB, free: 97.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.259, allocations: 2.562 kB / 0.7383 GB, free: 97.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/1.262, allocations: 0.8698 MB / 0.7391 GB, free: 96.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004219/1.266, allocations: 1.526 MB / 0.7406 GB, free: 95.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003134/1.266, allocations: 107.9 kB / 0.7407 GB, free: 95.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/1.281, allocations: 17.46 MB / 0.7578 GB, free: 76.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.281, allocations: 8 kB / 0.7578 GB, free: 76.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.297, allocations: 12.26 MB / 0.7697 GB, free: 64.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.299, allocations: 1.118 MB / 0.7708 GB, free: 63.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005711/1.3, allocations: 84 kB / 0.7709 GB, free: 63.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.302, allocations: 299.7 kB / 0.7712 GB, free: 62.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006674/1.303, allocations: 323.6 kB / 0.7715 GB, free: 62.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.303, allocations: 144 kB / 0.7716 GB, free: 62.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002965/1.306, allocations: 2.578 MB / 0.7742 GB, free: 59.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.306, allocations: 0 / 0.7742 GB, free: 59.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006371/1.312, allocations: 2.411 MB / 0.7765 GB, free: 57.37 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.0148/1.327, allocations: 12.97 MB / 0.7892 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.339, allocations: 9.014 MB / 0.798 GB, free: 35.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.339, allocations: 8 kB / 0.798 GB, free: 35.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005674/1.344, allocations: 4.183 MB / 0.8021 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.348, allocations: 0.7414 MB / 0.8028 GB, free: 30.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2976/1.645, allocations: 61.23 MB / 0.8626 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006417/1.652, allocations: 6.05 MB / 0.8685 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006622/1.659, allocations: 3.25 MB / 0.8717 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003571/1.662, allocations: 3.073 MB / 0.8747 GB, free: 154 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.662, allocations: 0 / 0.8747 GB, free: 154 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/1.833, allocations: 127.2 MB / 0.9989 GB, free: 42.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/22.63, allocations: 13.22 kB / 0.9989 GB, free: 42.76 MB / 0.545 GB " [Timeout remaining time 637] (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 655] Reference file matches [Calling sys.exit(0), Time elapsed: 33.67552039597649]