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.001937/0.001937, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.00227/0.00227, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.444/1.444, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.001816/0.001816, allocations: 59.91 kB / 347.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3231, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02891/0.352, allocations: 25.05 MB / 421.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.3713, allocations: 7.39 MB / 428.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007278/0.3786, allocations: 192.8 kB / 429 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02516/0.4037, allocations: 8.92 MB / 437.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.4167, allocations: 3.097 MB / 441 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006117/0.4228, allocations: 1.791 MB / 442.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01795/0.4407, allocations: 10.99 MB / 453.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02612/0.4669, allocations: 14.41 MB / 468.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.4774, allocations: 5.939 MB / 474.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.49, allocations: 6.44 MB / 480.6 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005203/0.4952, allocations: 1.68 MB / 482.3 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006974/0.5021, allocations: 2.054 MB / 484.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004839/0.507, allocations: 3.231 MB / 487.6 MB, free: 7.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01194/0.5189, allocations: 6.176 MB / 493.7 MB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03246/0.5514, allocations: 22.42 MB / 0.5041 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5514, allocations: 0 / 0.5041 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5514, allocations: 0 / 0.5041 GB, free: 11.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007374/0.5521, allocations: 0 / 0.5041 GB, free: 11.06 MB / 430.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.04381/0.5959, allocations: 13.05 MB / 0.5168 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.596, allocations: 15.98 kB / 0.5168 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006041/0.602, allocations: 1.581 MB / 0.5184 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04082/0.6429, allocations: 7.235 MB / 0.5254 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/0.6603, allocations: 6.239 MB / 0.5315 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008115/0.6611, allocations: 0.7105 MB / 0.5322 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004755/0.6658, allocations: 0.9335 MB / 0.5331 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04275/0.7086, allocations: 16.21 MB / 0.5489 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000333/0.7089, allocations: 19.83 kB / 0.549 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003681/0.7126, allocations: 403.9 kB / 0.5494 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007073/0.7133, allocations: 0.5825 MB / 0.5499 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4715/1.185, allocations: 15.46 MB / 0.565 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08464/1.269, allocations: 50.84 MB / 0.6147 GB, free: 96.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/1.287, allocations: 11.08 MB / 0.6255 GB, free: 89.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/1.291, allocations: 3.086 MB / 0.6285 GB, free: 86.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/1.306, allocations: 9.819 MB / 0.6381 GB, free: 76.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/1.306, allocations: 68.83 kB / 0.6382 GB, free: 76.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.65e-06/1.306, allocations: 0 / 0.6382 GB, free: 76.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03004/1.336, allocations: 15.29 MB / 0.6531 GB, free: 61.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.336, allocations: 81.78 kB / 0.6532 GB, free: 61.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.341, allocations: 3.864 MB / 0.6569 GB, free: 57.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000314/1.341, allocations: 77.7 kB / 0.657 GB, free: 57.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.343, allocations: 4.409 MB / 0.6613 GB, free: 53.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/1.344, allocations: 1.11 MB / 0.6624 GB, free: 52.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.345, allocations: 1.1 MB / 0.6635 GB, free: 51.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/1.345, allocations: 301.1 kB / 0.6638 GB, free: 50.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/1.348, allocations: 2.556 MB / 0.6663 GB, free: 48.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/1.352, allocations: 4.913 MB / 0.671 GB, free: 42.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007197/1.359, allocations: 7.945 MB / 0.6788 GB, free: 33.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-05/1.359, allocations: 24 kB / 0.6788 GB, free: 33.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01251/1.371, allocations: 8.631 MB / 0.6873 GB, free: 24.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/1.372, allocations: 40 kB / 0.6873 GB, free: 24.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.372, allocations: 80.03 kB / 0.6874 GB, free: 24.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/1.375, allocations: 1.24 MB / 0.6886 GB, free: 23.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.379, allocations: 1.228 MB / 0.6898 GB, free: 21.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.392, allocations: 9.844 MB / 0.6994 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/1.397, allocations: 335.5 kB / 0.6997 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.398, allocations: 284 kB / 0.7 GB, free: 11.38 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.006888/1.405, allocations: 3.74 MB / 0.7036 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.406, allocations: 397.5 kB / 0.704 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.417, allocations: 5.768 MB / 0.7097 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008837/1.425, allocations: 4.739 MB / 0.7143 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.425, allocations: 16 kB / 0.7143 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/1.425, allocations: 11.95 kB / 0.7143 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.455, allocations: 13.7 MB / 0.7277 GB, free: 14.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.455, allocations: 4 kB / 0.7277 GB, free: 14.78 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002565/1.457, allocations: 0.5578 MB / 0.7282 GB, free: 14.22 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00344/1.461, allocations: 1.116 MB / 0.7293 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/1.461, allocations: 67.98 kB / 0.7294 GB, free: 13.04 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/1.478, allocations: 8.746 MB / 0.7379 GB, free: 4.176 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.478, allocations: 3.938 kB / 0.7379 GB, free: 4.172 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/1.5, allocations: 8.49 MB / 0.7462 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/1.504, allocations: 0.8291 MB / 0.747 GB, free: 10.72 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009344/1.505, allocations: 60 kB / 0.7471 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.508, allocations: 187.8 kB / 0.7473 GB, free: 10.48 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008446/1.508, allocations: 238.4 kB / 0.7475 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/1.509, allocations: 91.97 kB / 0.7476 GB, free: 10.16 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006544/1.515, allocations: 2.585 MB / 0.7501 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.61e-07/1.515, allocations: 0 / 0.7501 GB, free: 7.586 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009018/1.524, allocations: 1.551 MB / 0.7516 GB, free: 6.035 MB / 0.5138 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.2956/1.82, allocations: 9.181 MB / 0.7606 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.832, allocations: 6.27 MB / 0.7667 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.832, allocations: 1.375 kB / 0.7667 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005642/1.837, allocations: 2.758 MB / 0.7694 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/1.842, allocations: 0.9443 MB / 0.7703 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07558/1.918, allocations: 53.12 MB / 0.8222 GB, free: 125 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00532/1.923, allocations: 6.228 MB / 0.8283 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00426/1.927, allocations: 1.875 MB / 0.8301 GB, free: 117.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/1.931, allocations: 3.252 MB / 0.8333 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.663e-06/1.931, allocations: 4 kB / 0.8333 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/2.351, allocations: 126.7 MB / 0.957 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/22.21, allocations: 8.391 kB / 0.957 GB, free: 144.6 MB / 0.5294 GB " [Timeout remaining time 638] (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: 24.844177007995313]