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.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.001351/0.001351, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001436/0.001436, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_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_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 373 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 53.34 MB / 426.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2503/0.3638, allocations: 27.11 MB / 453.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3843, allocations: 8.182 MB / 461.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007533/0.3918, allocations: 237.6 kB / 461.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02371/0.4155, allocations: 9.483 MB / 471.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.43, allocations: 3.36 MB / 474.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006973/0.437, allocations: 1.831 MB / 476.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01969/0.4567, allocations: 12.25 MB / 488.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03319/0.4899, allocations: 18.66 MB / 0.4956 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.5014, allocations: 6.581 MB / 0.502 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/0.5152, allocations: 7.285 MB / 0.5091 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005817/0.521, allocations: 1.84 MB / 0.5109 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009159/0.5302, allocations: 2.226 MB / 0.5131 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006179/0.5364, allocations: 3.616 MB / 0.5166 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01395/0.5503, allocations: 6.923 MB / 0.5234 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03433/0.5846, allocations: 24.82 MB / 0.5476 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5846, allocations: 0 / 0.5476 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5846, allocations: 0 / 0.5476 GB, free: 10.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005724/0.5852, allocations: 4 kB / 0.5476 GB, free: 10.48 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04693/0.6321, allocations: 14.76 MB / 0.562 GB, free: 11.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.6322, allocations: 12.03 kB / 0.562 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006735/0.6389, allocations: 1.792 MB / 0.5638 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0495/0.6884, allocations: 8.432 MB / 0.572 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/0.7055, allocations: 7.693 MB / 0.5795 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008665/0.7063, allocations: 0.8067 MB / 0.5803 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003986/0.7103, allocations: 1.058 MB / 0.5814 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04617/0.7565, allocations: 18.34 MB / 0.5993 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000348/0.7568, allocations: 19.89 kB / 0.5993 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003107/0.7599, allocations: 448 kB / 0.5997 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007603/0.7607, allocations: 0.6671 MB / 0.6004 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/0.7993, allocations: 17.59 MB / 0.6175 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5151/1.314, allocations: 59.38 MB / 0.6755 GB, free: 109 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02398/1.338, allocations: 36.98 MB / 0.7116 GB, free: 73.47 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005617/1.344, allocations: 3.74 MB / 0.7153 GB, free: 71.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/1.345, allocations: 311.6 kB / 0.7156 GB, free: 71.26 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/1.345, allocations: 92.56 kB / 0.7157 GB, free: 71.17 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.332e-06/1.345, allocations: 0 / 0.7157 GB, free: 71.17 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04773/1.392, allocations: 21.61 MB / 0.7368 GB, free: 52.47 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/1.392, allocations: 103.5 kB / 0.7369 GB, free: 52.36 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008121/1.4, allocations: 4.181 MB / 0.741 GB, free: 48.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007617/1.401, allocations: 113.6 kB / 0.7411 GB, free: 48.08 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/1.403, allocations: 4.67 MB / 0.7456 GB, free: 44 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.405, allocations: 1.868 MB / 0.7475 GB, free: 42.16 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/1.407, allocations: 1.367 MB / 0.7488 GB, free: 40.78 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/1.407, allocations: 309.1 kB / 0.7491 GB, free: 40.48 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/1.411, allocations: 3.453 MB / 0.7525 GB, free: 37.02 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005205/1.416, allocations: 5.887 MB / 0.7582 GB, free: 30.04 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.427, allocations: 10.04 MB / 0.768 GB, free: 18.83 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.346e-05/1.427, allocations: 20 kB / 0.768 GB, free: 18.81 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01678/1.444, allocations: 10.97 MB / 0.7787 GB, free: 7.758 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/1.444, allocations: 40 kB / 0.7788 GB, free: 7.719 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/1.444, allocations: 76 kB / 0.7789 GB, free: 7.645 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.448, allocations: 1.449 MB / 0.7803 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005659/1.453, allocations: 1.615 MB / 0.7818 GB, free: 4.578 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.47, allocations: 11.5 MB / 0.7931 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/1.475, allocations: 407.4 kB / 0.7935 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.477, allocations: 343.9 kB / 0.7938 GB, free: 8.215 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.007927/1.485, allocations: 4.161 MB / 0.7979 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.487, allocations: 0.4929 MB / 0.7983 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/1.506, allocations: 8.426 MB / 0.8066 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01305/1.519, allocations: 7.08 MB / 0.8135 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.66e-05/1.519, allocations: 12 kB / 0.8135 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/1.519, allocations: 23.91 kB / 0.8135 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03752/1.556, allocations: 18.77 MB / 0.8318 GB, free: 0.957 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/1.556, allocations: 4.281 kB / 0.8318 GB, free: 0.9531 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004152/1.56, allocations: 0.9439 MB / 0.8328 GB, free: 8 kB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2243/1.785, allocations: 1.295 MB / 0.834 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000915/1.786, allocations: 119 kB / 0.8341 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.801, allocations: 10.19 MB / 0.8441 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.801, allocations: 6.188 kB / 0.8441 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0207/1.822, allocations: 12.28 MB / 0.8561 GB, free: 174 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/1.824, allocations: 1.181 MB / 0.8573 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008612/1.825, allocations: 92.56 kB / 0.8573 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.828, allocations: 272.4 kB / 0.8576 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/1.829, allocations: 357 kB / 0.8579 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.829, allocations: 153.2 kB / 0.8581 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004112/1.833, allocations: 2.818 MB / 0.8608 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.833, allocations: 3.094 kB / 0.8608 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007266/1.84, allocations: 1.938 MB / 0.8627 GB, free: 172.1 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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.01817/1.859, allocations: 13.05 MB / 0.8755 GB, free: 166.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.871, allocations: 8.4 MB / 0.8837 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.871, allocations: 0 / 0.8837 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006636/1.878, allocations: 3.904 MB / 0.8875 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005799/1.884, allocations: 1.134 MB / 0.8886 GB, free: 158.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09774/1.981, allocations: 63.98 MB / 0.9511 GB, free: 94.46 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006824/1.988, allocations: 7.001 MB / 0.9579 GB, free: 87.41 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005304/1.994, allocations: 2.325 MB / 0.9602 GB, free: 85.08 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00506/1.999, allocations: 3.897 MB / 0.964 GB, free: 81.18 MB / 0.5607 GB Notification: Performance of SimCode: time 1.422e-06/1.999, allocations: 0 / 0.964 GB, free: 81.18 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5055/2.504, allocations: 150.7 MB / 1.111 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/24.43, allocations: 13.06 kB / 1.111 GB, free: 140.6 MB / 0.5607 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.689448934048414]