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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002298/0.002298, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.00156/0.00156, allocations: 47.92 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2424, allocations: 53.35 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02777/0.2702, allocations: 21.37 MB / 452.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.2854, allocations: 7.178 MB / 459.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.2893, allocations: 222.9 kB / 459.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02093/0.3102, allocations: 8.206 MB / 468.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009664/0.3199, allocations: 2.973 MB / 471.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005195/0.3251, allocations: 1.706 MB / 472.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01435/0.3394, allocations: 10.94 MB / 483.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02287/0.3623, allocations: 14.17 MB / 497.9 MB, free: 3.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009114/0.3714, allocations: 5.876 MB / 0.4919 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.3818, allocations: 6.073 MB / 0.4979 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003261/0.3851, allocations: 1.668 MB / 0.4995 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.3899, allocations: 2.046 MB / 0.5015 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003587/0.3934, allocations: 3.16 MB / 0.5046 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007829/0.4013, allocations: 4.709 MB / 0.5092 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02577/0.427, allocations: 22.48 MB / 0.5311 GB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.427, allocations: 0 / 0.5311 GB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4271, allocations: 3.938 kB / 0.5311 GB, free: 5.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004316/0.4275, allocations: 0 / 0.5311 GB, free: 5.402 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.4539/0.8814, allocations: 12.88 MB / 0.5437 GB, free: 89.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8815, allocations: 14.62 kB / 0.5437 GB, free: 89.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005077/0.8865, allocations: 1.551 MB / 0.5453 GB, free: 88.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03378/0.9203, allocations: 6.179 MB / 0.5513 GB, free: 82.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.9336, allocations: 7.013 MB / 0.5581 GB, free: 76.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.9341, allocations: 0.6973 MB / 0.5588 GB, free: 75.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/0.937, allocations: 0.9184 MB / 0.5597 GB, free: 74.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/0.9689, allocations: 15.93 MB / 0.5753 GB, free: 58.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/0.9692, allocations: 15.91 kB / 0.5753 GB, free: 58.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003042/0.9722, allocations: 387.7 kB / 0.5757 GB, free: 58.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000433/0.9727, allocations: 0.5586 MB / 0.5762 GB, free: 57.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/0.9983, allocations: 14.74 MB / 0.5906 GB, free: 42.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/1.066, allocations: 45.7 MB / 0.6352 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/1.087, allocations: 9.201 MB / 0.6442 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/1.092, allocations: 2.92 MB / 0.6471 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/1.092, allocations: 107 kB / 0.6472 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/1.093, allocations: 69.69 kB / 0.6472 GB, free: 1.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 6.883e-06/1.093, allocations: 0 / 0.6472 GB, free: 1.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04195/1.134, allocations: 17.1 MB / 0.6639 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/1.135, allocations: 90.58 kB / 0.664 GB, free: 436 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/1.141, allocations: 3.812 MB / 0.6677 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000797/1.142, allocations: 89.7 kB / 0.6678 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003511/1.145, allocations: 4.119 MB / 0.6718 GB, free: 8.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002024/1.147, allocations: 1.453 MB / 0.6733 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/1.149, allocations: 1.148 MB / 0.6744 GB, free: 5.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/1.149, allocations: 309.1 kB / 0.6747 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/1.154, allocations: 2.799 MB / 0.6774 GB, free: 2.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/1.161, allocations: 4.974 MB / 0.6823 GB, free: 12.65 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.175, allocations: 8.314 MB / 0.6904 GB, free: 3.34 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.697e-05/1.175, allocations: 20 kB / 0.6904 GB, free: 3.32 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01808/1.193, allocations: 9.074 MB / 0.6993 GB, free: 10.22 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/1.193, allocations: 36 kB / 0.6993 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.193, allocations: 68 kB / 0.6994 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/1.196, allocations: 1.19 MB / 0.7005 GB, free: 8.926 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/1.201, allocations: 1.326 MB / 0.7018 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/1.218, allocations: 9.509 MB / 0.7111 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/1.222, allocations: 335.5 kB / 0.7114 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007502/1.223, allocations: 292 kB / 0.7117 GB, free: 13.35 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.006706/1.229, allocations: 3.701 MB / 0.7153 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.231, allocations: 421.2 kB / 0.7157 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.244, allocations: 6.626 MB / 0.7222 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/1.254, allocations: 5.548 MB / 0.7276 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.254, allocations: 8 kB / 0.7276 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.59e-05/1.254, allocations: 27.86 kB / 0.7276 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.283, allocations: 14.98 MB / 0.7423 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.283, allocations: 8 kB / 0.7423 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.286, allocations: 0.7261 MB / 0.743 GB, free: 13.06 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/1.289, allocations: 1.076 MB / 0.744 GB, free: 11.98 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.289, allocations: 99.91 kB / 0.7441 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/1.304, allocations: 8.457 MB / 0.7524 GB, free: 3.312 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.304, allocations: 8 kB / 0.7524 GB, free: 3.305 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.213/1.517, allocations: 9.804 MB / 0.762 GB, free: 193.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.519, allocations: 0.9161 MB / 0.7629 GB, free: 192.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/1.52, allocations: 79.47 kB / 0.763 GB, free: 192.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.521, allocations: 198.7 kB / 0.7631 GB, free: 192.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.522, allocations: 301.8 kB / 0.7634 GB, free: 192.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.522, allocations: 128.9 kB / 0.7636 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.002827/1.525, allocations: 2.487 MB / 0.766 GB, free: 191.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.7e-07/1.525, allocations: 0 / 0.766 GB, free: 191.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004555/1.53, allocations: 1.607 MB / 0.7676 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.0132/1.543, allocations: 10.54 MB / 0.7778 GB, free: 187 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.553, allocations: 6.854 MB / 0.7845 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.553, allocations: 3.938 kB / 0.7845 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005088/1.558, allocations: 3.163 MB / 0.7876 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.562, allocations: 0.9815 MB / 0.7886 GB, free: 181 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06807/1.63, allocations: 54.21 MB / 0.8415 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00537/1.636, allocations: 5.741 MB / 0.8471 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004414/1.64, allocations: 1.912 MB / 0.849 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00406/1.644, allocations: 3.323 MB / 0.8522 GB, free: 116.1 MB / 0.5607 GB Notification: Performance of SimCode: time 8.72e-07/1.644, allocations: 0 / 0.8522 GB, free: 116.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3694/2.014, allocations: 130.7 MB / 0.9799 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/19.51, allocations: 3.188 kB / 0.9799 GB, free: 173.5 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.184276630170643]