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.001998/0.001998, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002386/0.002386, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.512/1.512, allocations: 230.4 MB / 254 MB, free: 15.01 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.001958/0.001958, allocations: 67.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09452, allocations: 53.38 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1985/0.293, allocations: 10.05 MB / 436.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006803/0.2998, allocations: 3.403 MB / 439.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.302, allocations: 86.09 kB / 439.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008418/0.3104, allocations: 3.855 MB / 443.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.3152, allocations: 1.503 MB / 445.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.318, allocations: 1.057 MB / 446.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.3302, allocations: 9.263 MB / 455.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02621/0.3564, allocations: 15.82 MB / 471.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009097/0.3655, allocations: 5.144 MB / 476.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.3761, allocations: 6.145 MB / 482.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003732/0.3798, allocations: 1.395 MB / 484.1 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005382/0.3852, allocations: 1.656 MB / 485.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004521/0.3897, allocations: 2.938 MB / 488.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009743/0.3995, allocations: 5.447 MB / 494.1 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02407/0.4236, allocations: 18.91 MB / 0.501 GB, free: 9.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4236, allocations: 0 / 0.501 GB, free: 9.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4236, allocations: 0 / 0.501 GB, free: 9.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003701/0.4239, allocations: 0 / 0.501 GB, free: 9.938 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.0366/0.4605, allocations: 12.45 MB / 0.5132 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4606, allocations: 19.97 kB / 0.5132 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004541/0.4651, allocations: 1.324 MB / 0.5145 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05122/0.5163, allocations: 8.42 MB / 0.5227 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.5296, allocations: 5.911 MB / 0.5285 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006843/0.5303, allocations: 0.6617 MB / 0.5291 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/0.5337, allocations: 0.8671 MB / 0.53 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/0.5705, allocations: 16.02 MB / 0.5456 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.5708, allocations: 19.88 kB / 0.5456 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/0.5728, allocations: 371.9 kB / 0.546 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006279/0.5735, allocations: 0.5543 MB / 0.5465 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03255/0.606, allocations: 15.77 MB / 0.5619 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08573/0.6917, allocations: 48.67 MB / 0.6095 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3979/1.09, allocations: 18.87 MB / 0.6279 GB, free: 139 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005897/1.096, allocations: 3.25 MB / 0.6311 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/1.096, allocations: 297.8 kB / 0.6313 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/1.096, allocations: 87.58 kB / 0.6314 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 7.314e-06/1.096, allocations: 3.938 kB / 0.6314 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02717/1.123, allocations: 11.56 MB / 0.6427 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/1.123, allocations: 129.1 kB / 0.6428 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006664/1.13, allocations: 3.852 MB / 0.6466 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.131, allocations: 98.8 kB / 0.6467 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.133, allocations: 4.047 MB / 0.6506 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.136, allocations: 1.689 MB / 0.6523 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002383/1.138, allocations: 1.487 MB / 0.6537 GB, free: 129 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/1.138, allocations: 306.1 kB / 0.654 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/1.143, allocations: 3.696 MB / 0.6576 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007533/1.151, allocations: 6.53 MB / 0.664 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.162, allocations: 10.85 MB / 0.6746 GB, free: 115.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.303e-05/1.162, allocations: 23.5 kB / 0.6746 GB, free: 115.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02008/1.183, allocations: 11.97 MB / 0.6863 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/1.183, allocations: 44.31 kB / 0.6864 GB, free: 109.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.183, allocations: 96 kB / 0.6865 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/1.188, allocations: 1.611 MB / 0.688 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006098/1.194, allocations: 1.681 MB / 0.6897 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/1.209, allocations: 17.67 MB / 0.7069 GB, free: 87.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/1.214, allocations: 0.9625 MB / 0.7079 GB, free: 86.73 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.215, allocations: 370.7 kB / 0.7082 GB, free: 86.37 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.005231/1.22, allocations: 3.758 MB / 0.7119 GB, free: 82.59 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.221, allocations: 409.4 kB / 0.7123 GB, free: 82.19 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.235, allocations: 8.53 MB / 0.7206 GB, free: 73.57 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.235, allocations: 48 kB / 0.7207 GB, free: 73.53 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/1.235, allocations: 12 kB / 0.7207 GB, free: 73.52 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.641e-05/1.235, allocations: 31.84 kB / 0.7207 GB, free: 73.48 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.262, allocations: 16.79 MB / 0.7371 GB, free: 56.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.262, allocations: 4 kB / 0.7371 GB, free: 56.66 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/1.266, allocations: 0.874 MB / 0.738 GB, free: 55.79 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004561/1.271, allocations: 1.511 MB / 0.7394 GB, free: 54.25 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007201/1.271, allocations: 112 kB / 0.7396 GB, free: 54.14 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.286, allocations: 17.47 MB / 0.7566 GB, free: 35.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.286, allocations: 1.016 kB / 0.7566 GB, free: 35.86 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.303, allocations: 12.25 MB / 0.7686 GB, free: 23.39 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/1.305, allocations: 1.122 MB / 0.7697 GB, free: 22.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006052/1.305, allocations: 84 kB / 0.7698 GB, free: 22.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.308, allocations: 303.7 kB / 0.77 GB, free: 21.87 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/1.308, allocations: 319.6 kB / 0.7703 GB, free: 21.56 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.309, allocations: 148 kB / 0.7705 GB, free: 21.41 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003093/1.312, allocations: 2.582 MB / 0.773 GB, free: 18.84 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.2e-07/1.312, allocations: 0 / 0.773 GB, free: 18.84 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006362/1.318, allocations: 2.4 MB / 0.7754 GB, free: 16.43 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.01649/1.335, allocations: 12.98 MB / 0.788 GB, free: 3.227 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01587/1.35, allocations: 9.023 MB / 0.7968 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.35, allocations: 0 / 0.7968 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009056/1.36, allocations: 4.18 MB / 0.8009 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.364, allocations: 0.7397 MB / 0.8016 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.32/1.684, allocations: 61.24 MB / 0.8614 GB, free: 171.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008279/1.692, allocations: 6.043 MB / 0.8673 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007381/1.7, allocations: 3.253 MB / 0.8705 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004565/1.704, allocations: 3.074 MB / 0.8735 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.914e-06/1.704, allocations: 0 / 0.8735 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.879, allocations: 127.2 MB / 0.9977 GB, free: 52.67 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/22.17, allocations: 8.547 kB / 0.9977 GB, free: 52.66 MB / 0.5607 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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.csv","/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] "Error: Could not read variable Ie.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Ie.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Ie.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Ie.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Im.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Im.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Im.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Im.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.140507305040956]