Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.001309/0.001309, allocations: 121.9 kB / 18.51 MB, free: 4.535 MB / 14.72 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.001392/0.001392, allocations: 219.2 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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.IMS_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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.002043/0.002043, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2428/0.3484, allocations: 27.11 MB / 453.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.3675, allocations: 8.187 MB / 462 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006253/0.3738, allocations: 197.6 kB / 462.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02017/0.3939, allocations: 9.47 MB / 471.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.406, allocations: 3.367 MB / 475 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005494/0.4114, allocations: 1.837 MB / 476.9 MB, free: 80 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01792/0.4294, allocations: 12.25 MB / 489.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03724/0.4666, allocations: 18.65 MB / 0.4959 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01307/0.4797, allocations: 6.48 MB / 0.5022 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01427/0.4939, allocations: 7.289 MB / 0.5093 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005633/0.4996, allocations: 1.84 MB / 0.5111 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007861/0.5074, allocations: 2.226 MB / 0.5133 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007054/0.5145, allocations: 3.62 MB / 0.5168 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.014/0.5285, allocations: 6.923 MB / 0.5236 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0364/0.5649, allocations: 24.82 MB / 0.5478 GB, free: 5.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5649, allocations: 4 kB / 0.5478 GB, free: 5.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5649, allocations: 0 / 0.5478 GB, free: 5.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007017/0.5656, allocations: 0 / 0.5478 GB, free: 5.953 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04866/0.6143, allocations: 14.76 MB / 0.5622 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6143, allocations: 8.031 kB / 0.5622 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006785/0.6211, allocations: 1.795 MB / 0.564 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04927/0.6704, allocations: 8.436 MB / 0.5722 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/0.6909, allocations: 7.685 MB / 0.5797 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/0.692, allocations: 0.8068 MB / 0.5805 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004993/0.697, allocations: 1.058 MB / 0.5816 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05311/0.7501, allocations: 18.34 MB / 0.5995 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005813/0.7507, allocations: 19.94 kB / 0.5995 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003911/0.7546, allocations: 447.9 kB / 0.5999 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008971/0.7555, allocations: 0.6711 MB / 0.6006 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/0.7969, allocations: 17.59 MB / 0.6177 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5594/1.356, allocations: 59.39 MB / 0.6757 GB, free: 114.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02487/1.381, allocations: 36.99 MB / 0.7119 GB, free: 78.54 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005848/1.387, allocations: 3.747 MB / 0.7155 GB, free: 76.57 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/1.388, allocations: 304 kB / 0.7158 GB, free: 76.33 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/1.388, allocations: 89.34 kB / 0.7159 GB, free: 76.25 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.036e-05/1.388, allocations: 0 / 0.7159 GB, free: 76.25 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05125/1.439, allocations: 21.61 MB / 0.737 GB, free: 63.26 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/1.439, allocations: 103.5 kB / 0.7371 GB, free: 63.14 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00535/1.444, allocations: 4.19 MB / 0.7412 GB, free: 58.98 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009549/1.445, allocations: 113.7 kB / 0.7413 GB, free: 58.86 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.448, allocations: 4.673 MB / 0.7459 GB, free: 54.78 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.45, allocations: 1.865 MB / 0.7477 GB, free: 52.94 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/1.452, allocations: 1.367 MB / 0.749 GB, free: 51.56 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/1.452, allocations: 308.1 kB / 0.7493 GB, free: 51.26 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004451/1.456, allocations: 3.453 MB / 0.7527 GB, free: 47.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005783/1.462, allocations: 5.881 MB / 0.7584 GB, free: 40.83 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.474, allocations: 10.04 MB / 0.7682 GB, free: 29.62 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-05/1.474, allocations: 20 kB / 0.7682 GB, free: 29.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02123/1.495, allocations: 10.96 MB / 0.7789 GB, free: 18.55 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/1.495, allocations: 40 kB / 0.779 GB, free: 18.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.495, allocations: 76.38 kB / 0.7791 GB, free: 18.44 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/1.499, allocations: 1.449 MB / 0.7805 GB, free: 16.99 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006061/1.505, allocations: 1.622 MB / 0.7821 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.52, allocations: 11.49 MB / 0.7933 GB, free: 3.734 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.526, allocations: 407.5 kB / 0.7937 GB, free: 3.336 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.528, allocations: 343.9 kB / 0.794 GB, free: 3 MB / 0.5138 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.008506/1.537, allocations: 4.161 MB / 0.7981 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/1.539, allocations: 496.8 kB / 0.7985 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/1.557, allocations: 8.44 MB / 0.8068 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01412/1.571, allocations: 7.077 MB / 0.8137 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/1.571, allocations: 12 kB / 0.8137 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.571, allocations: 27.89 kB / 0.8137 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04626/1.618, allocations: 18.77 MB / 0.832 GB, free: 11.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/1.618, allocations: 4 kB / 0.8321 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004609/1.622, allocations: 0.94 MB / 0.833 GB, free: 10.79 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/1.627, allocations: 1.305 MB / 0.8342 GB, free: 9.484 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/1.628, allocations: 116 kB / 0.8344 GB, free: 9.371 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.26/1.888, allocations: 10.18 MB / 0.8443 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.888, allocations: 3.562 kB / 0.8443 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.909, allocations: 12.29 MB / 0.8563 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/1.913, allocations: 1.184 MB / 0.8575 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.914, allocations: 91.31 kB / 0.8575 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.917, allocations: 268.3 kB / 0.8578 GB, free: 176.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008796/1.918, allocations: 359.6 kB / 0.8581 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/1.918, allocations: 153.7 kB / 0.8583 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005115/1.923, allocations: 2.82 MB / 0.861 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.923, allocations: 3.25 kB / 0.861 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007881/1.931, allocations: 1.933 MB / 0.8629 GB, free: 175.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.01994/1.951, allocations: 13.05 MB / 0.8757 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.965, allocations: 8.399 MB / 0.8839 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.965, allocations: 3.844 kB / 0.8839 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006997/1.972, allocations: 3.902 MB / 0.8877 GB, free: 164.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006641/1.979, allocations: 1.13 MB / 0.8888 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09767/2.077, allocations: 63.97 MB / 0.9513 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009224/2.086, allocations: 7.013 MB / 0.9581 GB, free: 97.02 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006219/2.092, allocations: 2.313 MB / 0.9604 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005742/2.098, allocations: 3.889 MB / 0.9642 GB, free: 90.81 MB / 0.5607 GB Notification: Performance of SimCode: time 1.423e-06/2.098, allocations: 0 / 0.9642 GB, free: 90.81 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5195/2.617, allocations: 150.7 MB / 1.111 GB, free: 163 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.97/26.59, allocations: 11.06 kB / 1.111 GB, free: 163 MB / 0.5763 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 30.06648499565199]