Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001564/0.001564, allocations: 114 kB / 20.44 MB, free: 1.469 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.001951/0.001951, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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.001895/0.001895, allocations: 59.91 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02919/0.2879, allocations: 24.95 MB / 456.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.303, allocations: 7.493 MB / 463.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.3071, allocations: 222.9 kB / 463.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02098/0.3281, allocations: 8.912 MB / 472.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.3383, allocations: 3.042 MB / 475.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00545/0.3437, allocations: 1.786 MB / 477.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.3597, allocations: 10.95 MB / 488.6 MB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02498/0.3847, allocations: 14.35 MB / 0.4911 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.3955, allocations: 5.861 MB / 0.4969 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01208/0.4076, allocations: 6.378 MB / 0.5031 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004471/0.4121, allocations: 1.668 MB / 0.5047 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006702/0.4188, allocations: 2.058 MB / 0.5067 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004348/0.4231, allocations: 3.16 MB / 0.5098 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.4342, allocations: 6.102 MB / 0.5158 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4714/0.9056, allocations: 22.39 MB / 0.5376 GB, free: 39.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9056, allocations: 1.25 kB / 0.5376 GB, free: 39.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.9056, allocations: 0 / 0.5376 GB, free: 39.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006532/0.9063, allocations: 1.5 kB / 0.5376 GB, free: 39.76 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.04014/0.9464, allocations: 12.89 MB / 0.5502 GB, free: 36.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.9464, allocations: 9.75 kB / 0.5502 GB, free: 36.42 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005054/0.9515, allocations: 1.549 MB / 0.5517 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03446/0.986, allocations: 6.179 MB / 0.5578 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/1.005, allocations: 7.012 MB / 0.5646 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008217/1.006, allocations: 0.7061 MB / 0.5653 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005169/1.011, allocations: 0.9184 MB / 0.5662 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03869/1.05, allocations: 15.78 MB / 0.5816 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/1.05, allocations: 19.75 kB / 0.5816 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002269/1.052, allocations: 385.9 kB / 0.582 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/1.053, allocations: 0.5547 MB / 0.5825 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/1.081, allocations: 14.81 MB / 0.597 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09446/1.175, allocations: 49.92 MB / 0.6458 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.193, allocations: 9.309 MB / 0.6549 GB, free: 12.25 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/1.199, allocations: 2.927 MB / 0.6577 GB, free: 9.32 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/1.199, allocations: 124.1 kB / 0.6578 GB, free: 9.219 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/1.199, allocations: 69.69 kB / 0.6579 GB, free: 9.141 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.44e-06/1.199, allocations: 0 / 0.6579 GB, free: 9.141 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04149/1.24, allocations: 17.27 MB / 0.6748 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/1.241, allocations: 94.56 kB / 0.6749 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006183/1.247, allocations: 3.701 MB / 0.6785 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006517/1.247, allocations: 85.7 kB / 0.6785 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003205/1.251, allocations: 4.129 MB / 0.6826 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.252, allocations: 1.449 MB / 0.684 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/1.254, allocations: 1.152 MB / 0.6851 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.254, allocations: 305.1 kB / 0.6854 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/1.259, allocations: 2.799 MB / 0.6881 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.265, allocations: 4.965 MB / 0.693 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.278, allocations: 8.323 MB / 0.7011 GB, free: 11.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.354e-05/1.278, allocations: 24 kB / 0.7011 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01707/1.295, allocations: 9.103 MB / 0.71 GB, free: 2.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.295, allocations: 39.98 kB / 0.7101 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/1.295, allocations: 72.47 kB / 0.7101 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003657/1.299, allocations: 1.225 MB / 0.7113 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/1.304, allocations: 1.326 MB / 0.7126 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.321, allocations: 9.817 MB / 0.7222 GB, free: 6.062 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.326, allocations: 335.5 kB / 0.7225 GB, free: 5.734 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.327, allocations: 292 kB / 0.7228 GB, free: 5.449 MB / 0.5607 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.007531/1.335, allocations: 3.704 MB / 0.7264 GB, free: 1.828 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.336, allocations: 421.3 kB / 0.7268 GB, free: 1.414 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.349, allocations: 6.663 MB / 0.7333 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01034/1.36, allocations: 5.581 MB / 0.7388 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.36, allocations: 8 kB / 0.7388 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.668e-05/1.36, allocations: 23.92 kB / 0.7388 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03057/1.39, allocations: 15.78 MB / 0.7542 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.39, allocations: 4 kB / 0.7542 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.393, allocations: 0.729 MB / 0.755 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/1.396, allocations: 1.122 MB / 0.756 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000395/1.397, allocations: 95.97 kB / 0.7561 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2574/1.654, allocations: 8.734 MB / 0.7647 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.654, allocations: 3.938 kB / 0.7647 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.668, allocations: 9.868 MB / 0.7743 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.671, allocations: 0.9163 MB / 0.7752 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006234/1.671, allocations: 79.33 kB / 0.7753 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.673, allocations: 194.1 kB / 0.7755 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/1.674, allocations: 307.9 kB / 0.7758 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.674, allocations: 121.4 kB / 0.7759 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00318/1.677, allocations: 2.499 MB / 0.7783 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/1.677, allocations: 5.125 kB / 0.7783 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005624/1.683, allocations: 1.612 MB / 0.7799 GB, free: 218.7 MB / 0.5919 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.01406/1.697, allocations: 10.59 MB / 0.7902 GB, free: 214 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00995/1.707, allocations: 6.867 MB / 0.7969 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.707, allocations: 4 kB / 0.7969 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/1.712, allocations: 3.182 MB / 0.8001 GB, free: 208 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005753/1.717, allocations: 0.9721 MB / 0.801 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09249/1.81, allocations: 54.4 MB / 0.8541 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.82, allocations: 6.198 MB / 0.8602 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00556/1.826, allocations: 1.912 MB / 0.8621 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004967/1.831, allocations: 3.331 MB / 0.8653 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.502e-06/1.831, allocations: 0 / 0.8653 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/2.022, allocations: 133.8 MB / 0.9959 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.5/23.52, allocations: 7.328 kB / 0.9959 GB, free: 7.926 MB / 0.5919 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_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.394456565998553]