Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.00138/0.00138, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001575/0.001575, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 47.94 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1017, allocations: 53.34 MB / 426.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2057/0.3075, allocations: 10.05 MB / 436.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.3132, allocations: 3.399 MB / 439.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.3148, allocations: 86.25 kB / 439.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007669/0.3225, allocations: 3.865 MB / 443.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.3267, allocations: 1.497 MB / 445.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.3289, allocations: 1.057 MB / 446.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.3396, allocations: 9.263 MB / 455.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02596/0.3656, allocations: 15.81 MB / 471.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009888/0.3754, allocations: 5.152 MB / 476.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.3866, allocations: 6.149 MB / 482.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003928/0.3905, allocations: 1.398 MB / 484.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006078/0.3966, allocations: 1.656 MB / 485.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005373/0.402, allocations: 2.923 MB / 488.6 MB, free: 2.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.4131, allocations: 5.455 MB / 494.1 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.4386, allocations: 18.91 MB / 0.501 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4386, allocations: 0 / 0.501 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4386, allocations: 0 / 0.501 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004698/0.4391, allocations: 0 / 0.501 GB, free: 10.07 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.03771/0.4768, allocations: 12.46 MB / 0.5132 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4768, allocations: 8.031 kB / 0.5132 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004197/0.481, allocations: 1.332 MB / 0.5145 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0506/0.5316, allocations: 8.421 MB / 0.5227 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.5459, allocations: 5.908 MB / 0.5285 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008004/0.5467, allocations: 0.6623 MB / 0.5291 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003926/0.5507, allocations: 0.864 MB / 0.5299 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/0.5903, allocations: 16.02 MB / 0.5456 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003994/0.5907, allocations: 7.953 kB / 0.5456 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002952/0.5936, allocations: 368 kB / 0.5459 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006742/0.5943, allocations: 0.5621 MB / 0.5465 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03559/0.6299, allocations: 15.77 MB / 0.5619 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09082/0.7207, allocations: 48.68 MB / 0.6094 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4016/1.122, allocations: 18.86 MB / 0.6279 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00597/1.128, allocations: 3.251 MB / 0.631 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000626/1.129, allocations: 296 kB / 0.6313 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.832e-05/1.129, allocations: 90.52 kB / 0.6314 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 7.964e-06/1.129, allocations: 0 / 0.6314 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02509/1.154, allocations: 11.56 MB / 0.6427 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.154, allocations: 127 kB / 0.6428 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/1.16, allocations: 3.852 MB / 0.6466 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006222/1.16, allocations: 100 kB / 0.6467 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.162, allocations: 4.047 MB / 0.6506 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.164, allocations: 1.683 MB / 0.6523 GB, free: 130 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.166, allocations: 1.495 MB / 0.6537 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/1.166, allocations: 306.1 kB / 0.654 GB, free: 129 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004457/1.17, allocations: 3.694 MB / 0.6576 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/1.176, allocations: 6.528 MB / 0.664 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.186, allocations: 10.86 MB / 0.6746 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.45e-05/1.186, allocations: 27.19 kB / 0.6746 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01853/1.204, allocations: 11.96 MB / 0.6863 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/1.204, allocations: 44 kB / 0.6864 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.204, allocations: 92.31 kB / 0.6864 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004563/1.209, allocations: 1.621 MB / 0.688 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/1.214, allocations: 1.677 MB / 0.6897 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/1.23, allocations: 17.68 MB / 0.7069 GB, free: 87.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005657/1.235, allocations: 0.9586 MB / 0.7079 GB, free: 86.98 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.236, allocations: 371.9 kB / 0.7082 GB, free: 86.62 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.005668/1.242, allocations: 3.754 MB / 0.7119 GB, free: 82.85 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.243, allocations: 409.4 kB / 0.7123 GB, free: 82.45 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.257, allocations: 8.526 MB / 0.7206 GB, free: 73.83 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/1.257, allocations: 48 kB / 0.7206 GB, free: 73.79 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.073e-05/1.257, allocations: 12 kB / 0.7207 GB, free: 73.77 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/1.257, allocations: 39.77 kB / 0.7207 GB, free: 73.73 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.285, allocations: 16.79 MB / 0.7371 GB, free: 56.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.285, allocations: 4 kB / 0.7371 GB, free: 56.91 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/1.289, allocations: 0.8698 MB / 0.7379 GB, free: 56.04 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004646/1.294, allocations: 1.511 MB / 0.7394 GB, free: 54.51 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009346/1.295, allocations: 112 kB / 0.7395 GB, free: 54.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.31, allocations: 17.47 MB / 0.7566 GB, free: 36.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.31, allocations: 3.938 kB / 0.7566 GB, free: 36.11 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.328, allocations: 12.24 MB / 0.7685 GB, free: 23.65 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002737/1.331, allocations: 1.122 MB / 0.7696 GB, free: 22.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.332, allocations: 87.98 kB / 0.7697 GB, free: 22.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/1.335, allocations: 307.6 kB / 0.77 GB, free: 22.12 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009272/1.336, allocations: 315.6 kB / 0.7703 GB, free: 21.81 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003104/1.336, allocations: 144 kB / 0.7705 GB, free: 21.67 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003421/1.34, allocations: 2.578 MB / 0.773 GB, free: 19.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.8e-07/1.34, allocations: 0 / 0.773 GB, free: 19.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007214/1.347, allocations: 2.403 MB / 0.7753 GB, free: 16.69 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.01748/1.364, allocations: 12.98 MB / 0.788 GB, free: 3.484 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.38, allocations: 9.026 MB / 0.7968 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.38, allocations: 0 / 0.7968 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008594/1.389, allocations: 4.188 MB / 0.8009 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.394, allocations: 0.7244 MB / 0.8016 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3758/1.77, allocations: 61.25 MB / 0.8614 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006052/1.776, allocations: 6.041 MB / 0.8673 GB, free: 146.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006344/1.782, allocations: 3.254 MB / 0.8705 GB, free: 145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003892/1.786, allocations: 3.067 MB / 0.8735 GB, free: 142.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/1.786, allocations: 0 / 0.8735 GB, free: 142.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1872/1.973, allocations: 127.2 MB / 0.9977 GB, free: 18.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/21.67, allocations: 12.42 kB / 0.9977 GB, free: 18.58 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 28.351165380096063]