Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 188.3 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 52.19 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.05477/0.3215, allocations: 24.91 MB / 447.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.3429, allocations: 7.399 MB / 455 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005982/0.3488, allocations: 222.9 kB / 455.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02202/0.3709, allocations: 8.914 MB / 464.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.3818, allocations: 3.044 MB / 467.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006089/0.3879, allocations: 1.753 MB / 468.9 MB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.4046, allocations: 10.85 MB / 479.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02871/0.4333, allocations: 14.35 MB / 494.1 MB, free: 6.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.444, allocations: 5.872 MB / 500 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.4555, allocations: 6.331 MB / 0.4944 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004836/0.4603, allocations: 1.672 MB / 0.4961 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007124/0.4674, allocations: 2.039 MB / 0.4981 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005837/0.4733, allocations: 3.164 MB / 0.5011 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.4856, allocations: 6.098 MB / 0.5071 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.5185, allocations: 22.37 MB / 0.529 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5185, allocations: 0 / 0.529 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5185, allocations: 0 / 0.529 GB, free: 7.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006753/0.5192, allocations: 4 kB / 0.529 GB, free: 7.137 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.4465/0.9657, allocations: 12.86 MB / 0.5415 GB, free: 92.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.9657, allocations: 11.91 kB / 0.5415 GB, free: 92.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004477/0.9702, allocations: 1.547 MB / 0.543 GB, free: 91.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04912/1.019, allocations: 6.25 MB / 0.5491 GB, free: 89.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/1.042, allocations: 6.994 MB / 0.556 GB, free: 84.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009337/1.042, allocations: 0.698 MB / 0.5566 GB, free: 83.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004262/1.047, allocations: 0.9211 MB / 0.5575 GB, free: 83.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04361/1.09, allocations: 15.75 MB / 0.5729 GB, free: 67.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004542/1.091, allocations: 15.94 kB / 0.5729 GB, free: 67.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0032/1.094, allocations: 391.4 kB / 0.5733 GB, free: 66.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000683/1.095, allocations: 0.5469 MB / 0.5739 GB, free: 66.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04213/1.137, allocations: 14.77 MB / 0.5883 GB, free: 51.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/1.245, allocations: 49.82 MB / 0.6369 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.263, allocations: 9.296 MB / 0.646 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00523/1.268, allocations: 2.925 MB / 0.6489 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/1.269, allocations: 90.94 kB / 0.649 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/1.269, allocations: 73.69 kB / 0.649 GB, free: 5.988 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 6.081e-06/1.269, allocations: 0 / 0.649 GB, free: 5.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.0413/1.31, allocations: 17.22 MB / 0.6658 GB, free: 4.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/1.31, allocations: 94.56 kB / 0.6659 GB, free: 4.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/1.317, allocations: 3.692 MB / 0.6695 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005458/1.317, allocations: 89.7 kB / 0.6696 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003713/1.321, allocations: 4.127 MB / 0.6737 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001787/1.323, allocations: 1.441 MB / 0.6751 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/1.325, allocations: 1.144 MB / 0.6762 GB, free: 10.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/1.325, allocations: 313.1 kB / 0.6765 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004703/1.329, allocations: 2.795 MB / 0.6792 GB, free: 7.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006859/1.336, allocations: 4.953 MB / 0.684 GB, free: 1.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.348, allocations: 8.31 MB / 0.6922 GB, free: 7.777 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.313e-05/1.349, allocations: 20 kB / 0.6922 GB, free: 7.758 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01699/1.366, allocations: 9.074 MB / 0.701 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/1.366, allocations: 36 kB / 0.7011 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.366, allocations: 72 kB / 0.7011 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.369, allocations: 1.225 MB / 0.7023 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/1.374, allocations: 1.322 MB / 0.7036 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.391, allocations: 9.821 MB / 0.7132 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/1.395, allocations: 335.6 kB / 0.7135 GB, free: 1.727 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008327/1.396, allocations: 280 kB / 0.7138 GB, free: 1.453 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006857/1.403, allocations: 3.71 MB / 0.7174 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.404, allocations: 425.3 kB / 0.7178 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.416, allocations: 6.658 MB / 0.7243 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009615/1.426, allocations: 5.556 MB / 0.7298 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.426, allocations: 11.98 kB / 0.7298 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/1.426, allocations: 23.86 kB / 0.7298 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/1.456, allocations: 15.76 MB / 0.7452 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/1.456, allocations: 4 kB / 0.7452 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002943/1.459, allocations: 0.7222 MB / 0.7459 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2292/1.688, allocations: 1.11 MB / 0.747 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006678/1.689, allocations: 94.23 kB / 0.7471 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.7, allocations: 8.741 MB / 0.7556 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.7, allocations: 10.81 kB / 0.7556 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.713, allocations: 9.825 MB / 0.7652 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.715, allocations: 0.9307 MB / 0.7661 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000633/1.716, allocations: 83.38 kB / 0.7662 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.718, allocations: 198.2 kB / 0.7664 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005771/1.719, allocations: 307.5 kB / 0.7667 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.719, allocations: 113.9 kB / 0.7668 GB, free: 176.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00355/1.722, allocations: 2.492 MB / 0.7692 GB, free: 176 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.722, allocations: 0 / 0.7692 GB, free: 176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005822/1.728, allocations: 1.61 MB / 0.7708 GB, free: 175.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01317/1.741, allocations: 10.57 MB / 0.7811 GB, free: 171.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009758/1.751, allocations: 6.869 MB / 0.7878 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.751, allocations: 0 / 0.7878 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004713/1.756, allocations: 3.168 MB / 0.7909 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.76, allocations: 0.9715 MB / 0.7919 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07239/1.832, allocations: 54.46 MB / 0.8451 GB, free: 105.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/1.838, allocations: 6.187 MB / 0.8511 GB, free: 99.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004664/1.843, allocations: 1.912 MB / 0.853 GB, free: 97.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004353/1.847, allocations: 3.303 MB / 0.8562 GB, free: 94.15 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.847, allocations: 0 / 0.8562 GB, free: 94.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4631/2.31, allocations: 133.5 MB / 0.9866 GB, free: 180 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.3/23.61, allocations: 0 / 0.9866 GB, free: 180 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable imcQS.rotorCage.port_p.reference.gamma in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable imcQS.rotorCage.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.226260199000535]