Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001678/0.001678, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002089/0.002089, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 55.92 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2512, allocations: 49.16 MB / 396.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02423/0.2754, allocations: 21.43 MB / 417.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.2931, allocations: 7.087 MB / 424.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00531/0.2984, allocations: 188.6 kB / 425.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0216/0.32, allocations: 8.215 MB / 433.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3315, allocations: 3.012 MB / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005642/0.3371, allocations: 1.712 MB / 438 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01667/0.3538, allocations: 11 MB / 449 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02462/0.3784, allocations: 14.23 MB / 463.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009793/0.3882, allocations: 5.943 MB / 469.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.4001, allocations: 6.151 MB / 475.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004424/0.4046, allocations: 1.68 MB / 477 MB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006259/0.4108, allocations: 2.027 MB / 479.1 MB, free: 100 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004615/0.4154, allocations: 3.223 MB / 482.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009296/0.4247, allocations: 4.783 MB / 487.1 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0279/0.4526, allocations: 22.52 MB / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4526, allocations: 0 / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4526, allocations: 0 / 0.4976 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004911/0.4531, allocations: 0 / 0.4976 GB, free: 1.477 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03935/0.4925, allocations: 13.04 MB / 0.5104 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4925, allocations: 11.98 kB / 0.5104 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0043/0.4968, allocations: 1.581 MB / 0.5119 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04036/0.5372, allocations: 7.235 MB / 0.519 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.5525, allocations: 6.243 MB / 0.5251 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008025/0.5533, allocations: 0.7105 MB / 0.5258 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.5567, allocations: 0.9413 MB / 0.5267 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03543/0.5922, allocations: 16.35 MB / 0.5427 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.5924, allocations: 7.953 kB / 0.5427 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/0.5939, allocations: 396 kB / 0.5431 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006729/0.5946, allocations: 0.5903 MB / 0.5436 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/0.6254, allocations: 15.38 MB / 0.5587 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3995/1.025, allocations: 46.56 MB / 0.6041 GB, free: 103.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.042, allocations: 10.93 MB / 0.6148 GB, free: 98.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003759/1.046, allocations: 3.08 MB / 0.6178 GB, free: 96.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/1.06, allocations: 9.034 MB / 0.6266 GB, free: 87.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.06, allocations: 72.83 kB / 0.6267 GB, free: 87.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.3e-06/1.06, allocations: 3.219 kB / 0.6267 GB, free: 87.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.02866/1.089, allocations: 15.09 MB / 0.6414 GB, free: 72.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.089, allocations: 85.78 kB / 0.6415 GB, free: 72.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/1.093, allocations: 3.991 MB / 0.6454 GB, free: 68.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.094, allocations: 77.7 kB / 0.6455 GB, free: 68.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/1.095, allocations: 4.41 MB / 0.6498 GB, free: 64.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/1.096, allocations: 1.106 MB / 0.6509 GB, free: 63.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/1.097, allocations: 1.096 MB / 0.6519 GB, free: 62.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/1.097, allocations: 305.1 kB / 0.6522 GB, free: 62.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.1, allocations: 2.548 MB / 0.6547 GB, free: 59.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/1.104, allocations: 4.93 MB / 0.6595 GB, free: 53.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/1.111, allocations: 7.934 MB / 0.6673 GB, free: 44.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.14e-05/1.112, allocations: 24 kB / 0.6673 GB, free: 44.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01322/1.125, allocations: 8.603 MB / 0.6757 GB, free: 35.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/1.125, allocations: 40 kB / 0.6757 GB, free: 35.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.125, allocations: 80 kB / 0.6758 GB, free: 35.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/1.128, allocations: 1.206 MB / 0.677 GB, free: 34.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/1.132, allocations: 1.221 MB / 0.6782 GB, free: 33.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.145, allocations: 9.547 MB / 0.6875 GB, free: 23.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.149, allocations: 327.6 kB / 0.6878 GB, free: 23.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000876/1.15, allocations: 288 kB / 0.6881 GB, free: 23.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006144/1.156, allocations: 3.732 MB / 0.6917 GB, free: 19.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.157, allocations: 397.5 kB / 0.6921 GB, free: 18.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/1.167, allocations: 5.733 MB / 0.6977 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006767/1.174, allocations: 4.7 MB / 0.7023 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.174, allocations: 8 kB / 0.7023 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/1.174, allocations: 15.94 kB / 0.7023 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/1.199, allocations: 13.04 MB / 0.7151 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.199, allocations: 4 kB / 0.7151 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.202, allocations: 0.566 MB / 0.7156 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/1.205, allocations: 1.072 MB / 0.7167 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/1.205, allocations: 75.91 kB / 0.7167 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/1.22, allocations: 8.453 MB / 0.725 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.22, allocations: 4 kB / 0.725 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.237, allocations: 8.451 MB / 0.7333 GB, free: 8.336 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/1.24, allocations: 0.8252 MB / 0.7341 GB, free: 7.508 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009442/1.24, allocations: 56 kB / 0.7341 GB, free: 7.453 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.243, allocations: 183.8 kB / 0.7343 GB, free: 7.273 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/1.244, allocations: 242.4 kB / 0.7345 GB, free: 7.035 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003448/1.244, allocations: 87.98 kB / 0.7346 GB, free: 6.949 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005896/1.25, allocations: 2.581 MB / 0.7371 GB, free: 4.383 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.21e-07/1.25, allocations: 4.062 kB / 0.7371 GB, free: 4.379 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.006714/1.257, allocations: 1.539 MB / 0.7386 GB, free: 2.84 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0166/1.273, allocations: 9.138 MB / 0.7476 GB, free: 9.57 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.286, allocations: 6.237 MB / 0.7536 GB, free: 3.309 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.286, allocations: 4.062 kB / 0.7536 GB, free: 3.305 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005887/1.291, allocations: 2.754 MB / 0.7563 GB, free: 0.5312 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1976/1.489, allocations: 0.9378 MB / 0.7573 GB, free: 176 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07752/1.567, allocations: 52.91 MB / 0.8089 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005331/1.572, allocations: 5.775 MB / 0.8146 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004437/1.576, allocations: 1.879 MB / 0.8164 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003864/1.58, allocations: 3.252 MB / 0.8196 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.373e-06/1.58, allocations: 3.844 kB / 0.8196 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/1.751, allocations: 123.6 MB / 0.9403 GB, free: 7.477 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.74, allocations: 4.062 kB / 0.9403 GB, free: 7.473 MB / 0.5138 GB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_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: 21.32078324863687]