Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_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_0_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.001576/0.001576, allocations: 51.91 kB / 370.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 52.18 MB / 422.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02603/0.2673, allocations: 21.33 MB / 443.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.2816, allocations: 7.08 MB / 451 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.2856, allocations: 222.9 kB / 451.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02002/0.3056, allocations: 8.217 MB / 459.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009828/0.3154, allocations: 2.961 MB / 462.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00584/0.3213, allocations: 1.693 MB / 464.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0206/0.3419, allocations: 10.85 MB / 475 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02949/0.3714, allocations: 14.16 MB / 489.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009527/0.3809, allocations: 5.872 MB / 495 MB, free: 5.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.3921, allocations: 6.038 MB / 0.4893 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004602/0.3967, allocations: 1.668 MB / 0.4909 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006921/0.4037, allocations: 2.015 MB / 0.4929 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005355/0.409, allocations: 3.157 MB / 0.496 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009267/0.4183, allocations: 4.713 MB / 0.5006 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02831/0.4466, allocations: 22.45 MB / 0.5225 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4466, allocations: 0 / 0.5225 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4466, allocations: 7.938 kB / 0.5225 GB, free: 13.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005841/0.4472, allocations: 0 / 0.5225 GB, free: 13.65 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.03929/0.4865, allocations: 12.85 MB / 0.5351 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4865, allocations: 12.03 kB / 0.5351 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3755/0.8621, allocations: 1.547 MB / 0.5366 GB, free: 96.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0347/0.8967, allocations: 6.247 MB / 0.5427 GB, free: 96.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.9094, allocations: 6.998 MB / 0.5495 GB, free: 91.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/0.9098, allocations: 0.698 MB / 0.5502 GB, free: 90.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/0.912, allocations: 0.9245 MB / 0.5511 GB, free: 89.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.9396, allocations: 15.89 MB / 0.5666 GB, free: 73.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/0.9399, allocations: 15.95 kB / 0.5666 GB, free: 73.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/0.9417, allocations: 387.6 kB / 0.567 GB, free: 73.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004004/0.9421, allocations: 0.5508 MB / 0.5675 GB, free: 72.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.9683, allocations: 14.71 MB / 0.5819 GB, free: 57.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.067/1.035, allocations: 45.61 MB / 0.6264 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/1.05, allocations: 9.155 MB / 0.6354 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/1.053, allocations: 2.917 MB / 0.6382 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/1.054, allocations: 75.08 kB / 0.6383 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.054, allocations: 81.67 kB / 0.6384 GB, free: 0.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.773e-06/1.054, allocations: 0 / 0.6384 GB, free: 0.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.03996/1.094, allocations: 17.06 MB / 0.655 GB, free: 15.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/1.094, allocations: 94.58 kB / 0.6551 GB, free: 15.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007522/1.101, allocations: 3.796 MB / 0.6588 GB, free: 11.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006228/1.102, allocations: 93.7 kB / 0.6589 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003439/1.105, allocations: 4.123 MB / 0.663 GB, free: 7.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.107, allocations: 1.449 MB / 0.6644 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002568/1.11, allocations: 1.14 MB / 0.6655 GB, free: 4.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/1.11, allocations: 305.1 kB / 0.6658 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004949/1.115, allocations: 2.791 MB / 0.6685 GB, free: 1.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008418/1.123, allocations: 4.978 MB / 0.6734 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.137, allocations: 8.298 MB / 0.6815 GB, free: 2.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.583e-05/1.137, allocations: 20 kB / 0.6815 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02031/1.157, allocations: 9.04 MB / 0.6903 GB, free: 9.52 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/1.157, allocations: 36 kB / 0.6903 GB, free: 9.484 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.158, allocations: 68 kB / 0.6904 GB, free: 9.418 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/1.161, allocations: 1.194 MB / 0.6916 GB, free: 8.219 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.166, allocations: 1.318 MB / 0.6929 GB, free: 6.898 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.184, allocations: 9.509 MB / 0.7022 GB, free: 13.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/1.189, allocations: 335.6 kB / 0.7025 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.19, allocations: 280 kB / 0.7027 GB, free: 12.66 MB / 0.5138 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.008243/1.198, allocations: 3.709 MB / 0.7064 GB, free: 8.934 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.2, allocations: 425.2 kB / 0.7068 GB, free: 8.516 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.214, allocations: 6.619 MB / 0.7132 GB, free: 1.863 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/1.224, allocations: 5.525 MB / 0.7186 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.224, allocations: 8 kB / 0.7186 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/1.224, allocations: 27.86 kB / 0.7187 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/1.257, allocations: 14.97 MB / 0.7333 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.257, allocations: 8 kB / 0.7333 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.26, allocations: 0.7177 MB / 0.734 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/1.263, allocations: 1.077 MB / 0.735 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004435/1.264, allocations: 95.91 kB / 0.7351 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.279, allocations: 8.458 MB / 0.7434 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.279, allocations: 4 kB / 0.7434 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2423/1.521, allocations: 9.783 MB / 0.7529 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.523, allocations: 0.9137 MB / 0.7538 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/1.524, allocations: 78.53 kB / 0.7539 GB, free: 185.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.526, allocations: 205.6 kB / 0.7541 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/1.527, allocations: 306.4 kB / 0.7544 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.527, allocations: 117.1 kB / 0.7545 GB, free: 185.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002945/1.53, allocations: 2.487 MB / 0.7569 GB, free: 184.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.53, allocations: 0 / 0.7569 GB, free: 184.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004861/1.535, allocations: 1.608 MB / 0.7585 GB, free: 184 MB / 0.545 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.01317/1.548, allocations: 10.52 MB / 0.7688 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.558, allocations: 6.846 MB / 0.7755 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.558, allocations: 0 / 0.7755 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/1.563, allocations: 3.151 MB / 0.7785 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/1.567, allocations: 0.9686 MB / 0.7795 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08718/1.654, allocations: 54.24 MB / 0.8325 GB, free: 117.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009291/1.664, allocations: 5.745 MB / 0.8381 GB, free: 111.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007067/1.671, allocations: 1.916 MB / 0.8399 GB, free: 110 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006149/1.677, allocations: 3.299 MB / 0.8432 GB, free: 106.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.243e-06/1.677, allocations: 0 / 0.8432 GB, free: 106.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4706/2.147, allocations: 130.1 MB / 0.9702 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/19.42, allocations: 8.5 kB / 0.9702 GB, free: 178.1 MB / 0.5607 GB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.0.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: 21.967112076934427]