Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.00175/0.00175, allocations: 123.4 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.001996/0.001996, allocations: 208.3 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_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_1_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.002072/0.002072, allocations: 47.94 kB / 373 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1171, allocations: 53.33 MB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.25/0.3672, allocations: 24.89 MB / 451.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01995/0.3871, allocations: 7.478 MB / 458.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00638/0.3935, allocations: 221.7 kB / 458.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02244/0.4159, allocations: 8.895 MB / 467.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.4274, allocations: 2.964 MB / 470.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.4329, allocations: 1.727 MB / 472.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01586/0.4488, allocations: 10.84 MB / 483.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02713/0.4759, allocations: 16.58 MB / 499.9 MB, free: 7.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.4888, allocations: 5.822 MB / 0.4939 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.5007, allocations: 6.347 MB / 0.5001 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004319/0.505, allocations: 1.668 MB / 0.5017 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006141/0.5112, allocations: 2.05 MB / 0.5037 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004004/0.5152, allocations: 3.168 MB / 0.5068 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.5256, allocations: 6.098 MB / 0.5128 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0296/0.5552, allocations: 22.39 MB / 0.5346 GB, free: 7.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.5552, allocations: 4 kB / 0.5347 GB, free: 7.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5552, allocations: 3.844 kB / 0.5347 GB, free: 7.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007452/0.556, allocations: 0 / 0.5347 GB, free: 7.543 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.04201/0.598, allocations: 12.97 MB / 0.5473 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.598, allocations: 8.031 kB / 0.5473 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005823/0.6038, allocations: 1.548 MB / 0.5488 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/0.6419, allocations: 6.179 MB / 0.5549 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.6582, allocations: 6.953 MB / 0.5617 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009377/0.6591, allocations: 0.6985 MB / 0.5623 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004398/0.6635, allocations: 0.9218 MB / 0.5632 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0457/0.7092, allocations: 15.79 MB / 0.5787 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004294/0.7097, allocations: 7.953 kB / 0.5787 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003116/0.7128, allocations: 392 kB / 0.579 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006841/0.7135, allocations: 0.5508 MB / 0.5796 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03633/0.7498, allocations: 14.8 MB / 0.594 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.376/1.126, allocations: 52.18 MB / 0.645 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02287/1.149, allocations: 26.11 MB / 0.6705 GB, free: 104.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005559/1.154, allocations: 2.931 MB / 0.6734 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005194/1.155, allocations: 274.4 kB / 0.6736 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.155, allocations: 78.95 kB / 0.6737 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=398): time 6.693e-06/1.155, allocations: 0 / 0.6737 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=404): time 0.03901/1.194, allocations: 17.42 MB / 0.6907 GB, free: 95.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.194, allocations: 92.58 kB / 0.6908 GB, free: 95.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/1.199, allocations: 3.699 MB / 0.6944 GB, free: 93.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007384/1.2, allocations: 88.52 kB / 0.6945 GB, free: 93.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.202, allocations: 4.129 MB / 0.6985 GB, free: 89.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.203, allocations: 1.442 MB / 0.6999 GB, free: 88.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/1.205, allocations: 1.156 MB / 0.7011 GB, free: 87.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/1.205, allocations: 316.8 kB / 0.7014 GB, free: 87.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/1.208, allocations: 2.8 MB / 0.7041 GB, free: 85.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/1.213, allocations: 4.96 MB / 0.7089 GB, free: 81.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/1.221, allocations: 8.326 MB / 0.7171 GB, free: 74.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.177e-05/1.221, allocations: 20 kB / 0.7171 GB, free: 74.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01419/1.236, allocations: 9.098 MB / 0.726 GB, free: 65.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/1.236, allocations: 40.56 kB / 0.726 GB, free: 65.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.236, allocations: 71.98 kB / 0.7261 GB, free: 65.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003308/1.239, allocations: 1.231 MB / 0.7273 GB, free: 63.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/1.244, allocations: 1.326 MB / 0.7286 GB, free: 62.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.256, allocations: 9.926 MB / 0.7383 GB, free: 52.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/1.261, allocations: 327.5 kB / 0.7386 GB, free: 52.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007295/1.262, allocations: 292 kB / 0.7389 GB, free: 51.81 MB / 0.5137 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.004992/1.267, allocations: 3.709 MB / 0.7425 GB, free: 48.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.267, allocations: 429.3 kB / 0.7429 GB, free: 47.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.278, allocations: 6.658 MB / 0.7494 GB, free: 40.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008262/1.286, allocations: 5.579 MB / 0.7548 GB, free: 35.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.286, allocations: 12 kB / 0.7549 GB, free: 35.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/1.286, allocations: 27.84 kB / 0.7549 GB, free: 35.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.309, allocations: 15.75 MB / 0.7703 GB, free: 19.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.309, allocations: 4 kB / 0.7703 GB, free: 19.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.311, allocations: 0.7255 MB / 0.771 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/1.314, allocations: 1.118 MB / 0.7721 GB, free: 17.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/1.314, allocations: 91.97 kB / 0.7722 GB, free: 17.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.325, allocations: 8.849 MB / 0.7808 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.325, allocations: 15.92 kB / 0.7808 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.339, allocations: 9.853 MB / 0.7904 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.342, allocations: 0.9784 MB / 0.7914 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008578/1.343, allocations: 79.98 kB / 0.7915 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.345, allocations: 199.7 kB / 0.7917 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007434/1.346, allocations: 291.3 kB / 0.7919 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/1.346, allocations: 124 kB / 0.7921 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004662/1.351, allocations: 2.495 MB / 0.7945 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.351, allocations: 0 / 0.7945 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006718/1.357, allocations: 1.609 MB / 0.7961 GB, free: 8.812 MB / 0.5294 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.0199/1.377, allocations: 10.61 MB / 0.8064 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.392, allocations: 6.869 MB / 0.8131 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.392, allocations: 1.875 kB / 0.8131 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00743/1.399, allocations: 3.178 MB / 0.8162 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/1.405, allocations: 0.9707 MB / 0.8172 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3242/1.73, allocations: 54.26 MB / 0.8702 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006688/1.736, allocations: 6.191 MB / 0.8762 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004619/1.741, allocations: 1.916 MB / 0.8781 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004673/1.745, allocations: 3.323 MB / 0.8813 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/1.745, allocations: 0 / 0.8813 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/1.923, allocations: 128.5 MB / 1.007 GB, free: 54.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20/21.92, allocations: 14.16 kB / 1.007 GB, free: 54.37 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.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: 24.55280455900356]