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.0008156/0.0008156, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008487/0.0008487, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8746/0.8746, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.172e-06/1.172e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.925e-06/9.097e-06, allocations: 10.78 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01523/0.01524, allocations: 21.39 MB / 345.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.02691, allocations: 7.181 MB / 353.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.02943, allocations: 226.9 kB / 353.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008091/0.03752, allocations: 8.666 MB / 362 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006176/0.0437, allocations: 3.021 MB / 365 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.04611, allocations: 1.724 MB / 366.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008479/0.05459, allocations: 11.29 MB / 378 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.06766, allocations: 14.21 MB / 392.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006998/0.07466, allocations: 8.6 MB / 400.9 MB, free: 3.227 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/0.07879, allocations: 5.458 MB / 406.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.07998, allocations: 1.668 MB / 408 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.08219, allocations: 2.062 MB / 410 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.08369, allocations: 3.219 MB / 413.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003083/0.08677, allocations: 4.078 MB / 417.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.1003, allocations: 22.72 MB / 440.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1003, allocations: 0 / 440.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1003, allocations: 0 / 440.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002276/0.1006, allocations: 0 / 440.1 MB, free: 11.93 MB / 410.7 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.2951/0.3957, allocations: 12.77 MB / 452.8 MB, free: 101.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3957, allocations: 14.02 kB / 452.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003846/0.3996, allocations: 1.549 MB / 454.4 MB, free: 101 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.4158, allocations: 6.193 MB / 460.6 MB, free: 99.19 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008781/0.4246, allocations: 7.02 MB / 467.6 MB, free: 92.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.425, allocations: 0.6976 MB / 468.3 MB, free: 91.91 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.4277, allocations: 0.9173 MB / 469.2 MB, free: 91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/0.4541, allocations: 15.93 MB / 485.2 MB, free: 75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.4543, allocations: 15.89 kB / 485.2 MB, free: 74.98 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.4553, allocations: 387.7 kB / 485.6 MB, free: 74.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002904/0.4556, allocations: 0.5547 MB / 486.1 MB, free: 74.05 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.473, allocations: 14.74 MB / 0.4891 GB, free: 59.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.5139, allocations: 45.73 MB / 0.5338 GB, free: 13.26 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008955/0.5229, allocations: 9.18 MB / 0.5427 GB, free: 5.121 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.5254, allocations: 2.924 MB / 0.5456 GB, free: 2.199 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.5256, allocations: 107 kB / 0.5457 GB, free: 2.094 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5256, allocations: 81.62 kB / 0.5458 GB, free: 2.004 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 5.31e-06/0.5256, allocations: 0 / 0.5458 GB, free: 2.004 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02334/0.549, allocations: 17.08 MB / 0.5624 GB, free: 1.027 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.549, allocations: 98.58 kB / 0.5625 GB, free: 0.918 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.5527, allocations: 3.809 MB / 0.5663 GB, free: 13.11 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.5529, allocations: 93.7 kB / 0.5664 GB, free: 13.01 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.5546, allocations: 4.102 MB / 0.5704 GB, free: 8.898 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000856/0.5555, allocations: 1.43 MB / 0.5718 GB, free: 7.488 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.5566, allocations: 1.136 MB / 0.5729 GB, free: 6.34 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5568, allocations: 305.1 kB / 0.5732 GB, free: 6.039 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.5596, allocations: 2.799 MB / 0.5759 GB, free: 3.234 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.5637, allocations: 4.984 MB / 0.5808 GB, free: 13.25 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007761/0.5715, allocations: 8.314 MB / 0.5889 GB, free: 3.938 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/0.5715, allocations: 20 kB / 0.5889 GB, free: 3.918 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01362/0.5851, allocations: 9.065 MB / 0.5977 GB, free: 10.83 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.5852, allocations: 40 kB / 0.5978 GB, free: 10.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/0.5853, allocations: 75.94 kB / 0.5979 GB, free: 10.72 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.5874, allocations: 1.188 MB / 0.599 GB, free: 9.527 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.5901, allocations: 1.326 MB / 0.6003 GB, free: 8.199 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.6025, allocations: 9.502 MB / 0.6096 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.6052, allocations: 327.5 kB / 0.6099 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007058/0.6059, allocations: 288 kB / 0.6102 GB, free: 13.98 MB / 490.8 MB 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.005624/0.6115, allocations: 3.712 MB / 0.6138 GB, free: 10.26 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/0.6122, allocations: 421.3 kB / 0.6142 GB, free: 9.844 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007977/0.6202, allocations: 6.623 MB / 0.6207 GB, free: 3.188 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1852/0.8054, allocations: 5.545 MB / 0.6261 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.8054, allocations: 9.844 kB / 0.6261 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.014e-05/0.8055, allocations: 22.94 kB / 0.6261 GB, free: 161.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/0.8256, allocations: 15 MB / 0.6408 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8256, allocations: 4.938 kB / 0.6408 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8271, allocations: 0.7318 MB / 0.6415 GB, free: 156.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.8288, allocations: 1.074 MB / 0.6425 GB, free: 156.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/0.829, allocations: 91.89 kB / 0.6426 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007094/0.8361, allocations: 8.461 MB / 0.6509 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8361, allocations: 4.844 kB / 0.6509 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009397/0.8455, allocations: 9.805 MB / 0.6605 GB, free: 143.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.8472, allocations: 0.9151 MB / 0.6614 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/0.8476, allocations: 83.94 kB / 0.6614 GB, free: 143.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8487, allocations: 192.5 kB / 0.6616 GB, free: 143.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.8491, allocations: 309.4 kB / 0.6619 GB, free: 142.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.8493, allocations: 123.7 kB / 0.662 GB, free: 142.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002582/0.8519, allocations: 2.485 MB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8519, allocations: 2.906 kB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003939/0.8558, allocations: 1.611 MB / 0.666 GB, free: 139 MB / 490.8 MB 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.008817/0.8646, allocations: 10.53 MB / 0.6763 GB, free: 128.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007244/0.8719, allocations: 6.847 MB / 0.683 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8719, allocations: 0 / 0.683 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/0.8751, allocations: 3.158 MB / 0.6861 GB, free: 118.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.8781, allocations: 0.979 MB / 0.687 GB, free: 117.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06763/0.9458, allocations: 54.25 MB / 0.74 GB, free: 60.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/0.9501, allocations: 5.749 MB / 0.7456 GB, free: 55.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003107/0.9532, allocations: 1.916 MB / 0.7475 GB, free: 53.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/0.9561, allocations: 3.32 MB / 0.7508 GB, free: 49.89 MB / 490.8 MB Notification: Performance of SimCode: time 1.433e-06/0.9561, allocations: 0 / 0.7508 GB, free: 49.89 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3202/1.276, allocations: 130.4 MB / 0.8781 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.88, allocations: 8.422 kB / 0.8781 GB, free: 122.8 MB / 0.4949 GB " [Timeout remaining time 648] (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/jenkins/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/jenkins/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: 13.675480199046433]