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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001406/0.001406, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.00167/0.00167, allocations: 43.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3012, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0279/0.3291, allocations: 21.36 MB / 452.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.3453, allocations: 7.174 MB / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.3503, allocations: 218.9 kB / 459.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02199/0.3723, allocations: 8.228 MB / 468.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.3842, allocations: 2.976 MB / 471.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005924/0.3901, allocations: 1.733 MB / 472.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01722/0.4073, allocations: 10.94 MB / 483.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03692/0.4442, allocations: 14.36 MB / 498.1 MB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.4565, allocations: 5.869 MB / 0.4922 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.468, allocations: 6.366 MB / 0.4984 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004443/0.4724, allocations: 1.668 MB / 0.5 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.4785, allocations: 2.062 MB / 0.502 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004627/0.4831, allocations: 3.157 MB / 0.5051 GB, free: 204 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008685/0.4918, allocations: 4.717 MB / 0.5097 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02517/0.517, allocations: 22.47 MB / 0.5317 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.517, allocations: 0 / 0.5317 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.517, allocations: 0 / 0.5317 GB, free: 4.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004536/0.5175, allocations: 0 / 0.5317 GB, free: 4.922 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.4101/0.9275, allocations: 12.89 MB / 0.5442 GB, free: 89.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9276, allocations: 7.938 kB / 0.5443 GB, free: 89.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003446/0.931, allocations: 1.546 MB / 0.5458 GB, free: 88.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03228/0.9633, allocations: 6.185 MB / 0.5518 GB, free: 82.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.9768, allocations: 7.011 MB / 0.5586 GB, free: 75.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004989/0.9773, allocations: 0.6976 MB / 0.5593 GB, free: 75.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/0.9806, allocations: 0.9213 MB / 0.5602 GB, free: 74.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/1.012, allocations: 15.93 MB / 0.5758 GB, free: 58.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003755/1.012, allocations: 11.91 kB / 0.5758 GB, free: 58.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.015, allocations: 394.1 kB / 0.5762 GB, free: 57.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004811/1.015, allocations: 0.5547 MB / 0.5767 GB, free: 57.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02914/1.044, allocations: 14.73 MB / 0.5911 GB, free: 42.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/1.121, allocations: 45.7 MB / 0.6357 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.14, allocations: 9.201 MB / 0.6447 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.145, allocations: 2.924 MB / 0.6476 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/1.146, allocations: 103 kB / 0.6477 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/1.146, allocations: 69.69 kB / 0.6477 GB, free: 1.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.164e-06/1.146, allocations: 0 / 0.6477 GB, free: 1.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04039/1.186, allocations: 17.1 MB / 0.6644 GB, free: 160 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/1.186, allocations: 90.58 kB / 0.6645 GB, free: 56 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/1.192, allocations: 3.812 MB / 0.6683 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006164/1.193, allocations: 89.7 kB / 0.6683 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003268/1.196, allocations: 4.115 MB / 0.6724 GB, free: 7.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.198, allocations: 1.453 MB / 0.6738 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/1.2, allocations: 1.148 MB / 0.6749 GB, free: 5.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/1.2, allocations: 309 kB / 0.6752 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004528/1.204, allocations: 2.791 MB / 0.6779 GB, free: 2.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006475/1.211, allocations: 4.99 MB / 0.6828 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.223, allocations: 8.31 MB / 0.6909 GB, free: 2.965 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.332e-05/1.223, allocations: 20 kB / 0.6909 GB, free: 2.945 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01747/1.241, allocations: 9.071 MB / 0.6998 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/1.241, allocations: 41.31 kB / 0.6998 GB, free: 9.812 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.241, allocations: 68 kB / 0.6999 GB, free: 9.746 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/1.244, allocations: 1.194 MB / 0.7011 GB, free: 8.551 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/1.249, allocations: 1.322 MB / 0.7023 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/1.266, allocations: 9.49 MB / 0.7116 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.271, allocations: 335.5 kB / 0.7119 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007858/1.272, allocations: 288 kB / 0.7122 GB, free: 13 MB / 0.5294 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.006561/1.278, allocations: 3.712 MB / 0.7158 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009915/1.279, allocations: 421.2 kB / 0.7162 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.291, allocations: 6.623 MB / 0.7227 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009637/1.301, allocations: 5.552 MB / 0.7281 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.301, allocations: 11.94 kB / 0.7281 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/1.301, allocations: 23.86 kB / 0.7282 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/1.331, allocations: 14.99 MB / 0.7428 GB, free: 13.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.331, allocations: 8.094 kB / 0.7428 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.334, allocations: 0.7294 MB / 0.7435 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.337, allocations: 1.08 MB / 0.7446 GB, free: 11.61 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003328/1.337, allocations: 99.84 kB / 0.7447 GB, free: 11.51 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.351, allocations: 8.449 MB / 0.7529 GB, free: 2.949 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.351, allocations: 11.94 kB / 0.7529 GB, free: 2.938 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2258/1.577, allocations: 9.804 MB / 0.7625 GB, free: 193.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.579, allocations: 0.9172 MB / 0.7634 GB, free: 192.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/1.58, allocations: 75.22 kB / 0.7635 GB, free: 192.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.582, allocations: 196.5 kB / 0.7637 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/1.582, allocations: 307 kB / 0.7639 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.583, allocations: 124.1 kB / 0.7641 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003013/1.586, allocations: 2.486 MB / 0.7665 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.586, allocations: 2.344 kB / 0.7665 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00483/1.59, allocations: 1.604 MB / 0.7681 GB, free: 191.6 MB / 0.5607 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.01347/1.604, allocations: 10.55 MB / 0.7784 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.614, allocations: 6.861 MB / 0.7851 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.614, allocations: 0 / 0.7851 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005535/1.619, allocations: 3.157 MB / 0.7882 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.624, allocations: 0.9761 MB / 0.7891 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07545/1.699, allocations: 54.21 MB / 0.842 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005005/1.704, allocations: 5.741 MB / 0.8476 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004156/1.709, allocations: 1.916 MB / 0.8495 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003611/1.712, allocations: 3.319 MB / 0.8528 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/1.712, allocations: 0 / 0.8528 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4001/2.112, allocations: 133.7 MB / 0.9833 GB, free: 176.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/19.37, allocations: 5.578 kB / 0.9833 GB, free: 176.8 MB / 0.5607 GB " [Timeout remaining time 640] (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: 22.014613537001424]