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.IMS_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.001797/0.001797, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002266/0.002266, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.323/1.323, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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.001741/0.001741, allocations: 51.92 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2544, allocations: 49.16 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02821/0.2826, allocations: 27.24 MB / 423.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.3023, allocations: 8.042 MB / 431.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006456/0.3088, allocations: 202.9 kB / 431.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02494/0.3337, allocations: 9.504 MB / 441.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.3466, allocations: 3.502 MB / 444.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.3526, allocations: 1.892 MB / 446.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01856/0.3712, allocations: 12.42 MB / 459.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03076/0.402, allocations: 16.07 MB / 475.2 MB, free: 4.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.4143, allocations: 6.702 MB / 482 MB, free: 13.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.4273, allocations: 7.374 MB / 489.3 MB, free: 5.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005339/0.4326, allocations: 1.852 MB / 491.2 MB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008013/0.4406, allocations: 2.222 MB / 493.4 MB, free: 1.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00717/0.4478, allocations: 3.686 MB / 497.1 MB, free: 14.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01491/0.4627, allocations: 7 MB / 0.4923 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03448/0.4972, allocations: 24.82 MB / 0.5165 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4972, allocations: 0 / 0.5165 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4972, allocations: 0 / 0.5165 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007391/0.4979, allocations: 0 / 0.5165 GB, free: 14.25 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04733/0.5453, allocations: 14.86 MB / 0.531 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5453, allocations: 15.98 kB / 0.531 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007041/0.5524, allocations: 1.821 MB / 0.5328 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05357/0.6059, allocations: 9.524 MB / 0.5421 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02245/0.6284, allocations: 6.986 MB / 0.5489 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009847/0.6294, allocations: 0.8188 MB / 0.5497 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005308/0.6347, allocations: 1.07 MB / 0.5508 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4184/1.053, allocations: 18.75 MB / 0.5691 GB, free: 123.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005435/1.054, allocations: 15.52 kB / 0.5691 GB, free: 123.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004846/1.058, allocations: 461.3 kB / 0.5695 GB, free: 123.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/1.059, allocations: 0.6981 MB / 0.5702 GB, free: 123.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/1.097, allocations: 18.22 MB / 0.588 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09633/1.193, allocations: 57.86 MB / 0.6445 GB, free: 65.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02257/1.216, allocations: 14.79 MB / 0.659 GB, free: 53.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005276/1.221, allocations: 3.892 MB / 0.6628 GB, free: 49.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/1.24, allocations: 12.16 MB / 0.6746 GB, free: 37.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/1.24, allocations: 73.58 kB / 0.6747 GB, free: 37.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.184e-06/1.24, allocations: 0 / 0.6747 GB, free: 37.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.03997/1.28, allocations: 19.25 MB / 0.6935 GB, free: 18.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/1.28, allocations: 94.47 kB / 0.6936 GB, free: 18.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/1.285, allocations: 4.349 MB / 0.6978 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000749/1.286, allocations: 93.7 kB / 0.6979 GB, free: 14.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00217/1.288, allocations: 5.008 MB / 0.7028 GB, free: 9.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.29, allocations: 1.41 MB / 0.7042 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/1.291, allocations: 1.279 MB / 0.7055 GB, free: 6.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/1.291, allocations: 301.1 kB / 0.7057 GB, free: 6.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003917/1.295, allocations: 3.116 MB / 0.7088 GB, free: 3.043 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006131/1.301, allocations: 5.748 MB / 0.7144 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.315, allocations: 9.454 MB / 0.7236 GB, free: 1.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.249e-05/1.315, allocations: 24 kB / 0.7237 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01933/1.334, allocations: 10.26 MB / 0.7337 GB, free: 7.066 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/1.335, allocations: 44.62 kB / 0.7337 GB, free: 7.023 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.335, allocations: 88.38 kB / 0.7338 GB, free: 6.938 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/1.339, allocations: 1.444 MB / 0.7352 GB, free: 5.488 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.344, allocations: 1.462 MB / 0.7366 GB, free: 4.023 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/1.363, allocations: 11.37 MB / 0.7477 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005102/1.368, allocations: 407.5 kB / 0.7481 GB, free: 8.125 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.369, allocations: 324 kB / 0.7484 GB, free: 7.809 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008921/1.378, allocations: 4.184 MB / 0.7525 GB, free: 3.609 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.379, allocations: 465 kB / 0.753 GB, free: 3.152 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.394, allocations: 7.313 MB / 0.7601 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01147/1.405, allocations: 5.996 MB / 0.766 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.405, allocations: 12 kB / 0.766 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/1.405, allocations: 19.92 kB / 0.766 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2435/1.649, allocations: 16.36 MB / 0.782 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.649, allocations: 2.219 kB / 0.782 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/1.652, allocations: 0.723 MB / 0.7827 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.656, allocations: 1.302 MB / 0.784 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005711/1.656, allocations: 83.92 kB / 0.784 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.67, allocations: 10.09 MB / 0.7939 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.67, allocations: 0 / 0.7939 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.686, allocations: 10.53 MB / 0.8042 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/1.689, allocations: 1.014 MB / 0.8052 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008714/1.69, allocations: 69.33 kB / 0.8052 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.693, allocations: 253.2 kB / 0.8055 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006351/1.693, allocations: 285.5 kB / 0.8057 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.694, allocations: 114.2 kB / 0.8059 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003948/1.698, allocations: 2.909 MB / 0.8087 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.698, allocations: 0 / 0.8087 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006047/1.704, allocations: 1.842 MB / 0.8105 GB, free: 160.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/1.718, allocations: 11.23 MB / 0.8215 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.729, allocations: 7.578 MB / 0.8289 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.729, allocations: 0 / 0.8289 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005398/1.734, allocations: 3.385 MB / 0.8322 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/1.739, allocations: 1.079 MB / 0.8332 GB, free: 145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09033/1.829, allocations: 62.13 MB / 0.8939 GB, free: 80.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008168/1.837, allocations: 7.032 MB / 0.9008 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005171/1.843, allocations: 2.251 MB / 0.903 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004788/1.847, allocations: 3.881 MB / 0.9067 GB, free: 67.22 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/1.847, allocations: 0 / 0.9067 GB, free: 67.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4316/2.279, allocations: 147.2 MB / 1.05 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.07/24.35, allocations: 6.656 kB / 1.05 GB, free: 116.7 MB / 0.5294 GB " [Timeout remaining time 635] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.83466336299898]