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.001009/0.001009, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009015/0.0009015, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9056/0.9056, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.532e-05, allocations: 3.125 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01786/0.01787, allocations: 23.24 MB / 347.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.03115, allocations: 7.856 MB / 355.7 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.03437, allocations: 238.8 kB / 355.9 MB, free: 412 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009382/0.04375, allocations: 9.243 MB / 365.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.05021, allocations: 3.437 MB / 368.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.05289, allocations: 1.811 MB / 370.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009096/0.06199, allocations: 12.77 MB / 383.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/0.07875, allocations: 15.89 MB / 399 MB, free: 4.984 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009939/0.08869, allocations: 9.712 MB / 408.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007251/0.09594, allocations: 6.28 MB / 415 MB, free: 4.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.09894, allocations: 1.832 MB / 416.9 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.1028, allocations: 2.226 MB / 419.1 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003682/0.1065, allocations: 3.674 MB / 422.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006159/0.1127, allocations: 4.632 MB / 427.4 MB, free: 8.578 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2049/0.3176, allocations: 25.11 MB / 452.5 MB, free: 47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3176, allocations: 0.5 kB / 452.5 MB, free: 47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3176, allocations: 0.5312 kB / 452.5 MB, free: 47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007659/0.3184, allocations: 0 / 452.5 MB, free: 47 MB / 410.7 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.03067/0.349, allocations: 14.55 MB / 467.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.3491, allocations: 13.92 kB / 467.1 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00253/0.3516, allocations: 1.786 MB / 468.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02159/0.3732, allocations: 8.454 MB / 477.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.3858, allocations: 7.802 MB / 485.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.3862, allocations: 0.8075 MB / 485.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/0.389, allocations: 1.058 MB / 487 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.4147, allocations: 18.55 MB / 0.4937 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.4149, allocations: 19.89 kB / 0.4937 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000793/0.4157, allocations: 450 kB / 0.4941 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/0.416, allocations: 0.6672 MB / 0.4948 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.4344, allocations: 17.49 MB / 0.5119 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06639/0.5008, allocations: 52.15 MB / 0.5628 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.5143, allocations: 12.65 MB / 0.5751 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003946/0.5183, allocations: 3.73 MB / 0.5788 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.5185, allocations: 131.9 kB / 0.5789 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.5186, allocations: 86.38 kB / 0.579 GB, free: 2.949 MB / 474.7 MB Notification: Performance of pre-optimization done (n=518): time 8.336e-06/0.5186, allocations: 4 kB / 0.579 GB, free: 2.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=524): time 0.03051/0.5491, allocations: 21.25 MB / 0.5997 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.5492, allocations: 107.5 kB / 0.5998 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.5535, allocations: 4.264 MB / 0.604 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.5537, allocations: 109.7 kB / 0.6041 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.5559, allocations: 4.666 MB / 0.6087 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.557, allocations: 1.833 MB / 0.6105 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.5587, allocations: 1.355 MB / 0.6118 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.5588, allocations: 301.1 kB / 0.6121 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003879/0.5626, allocations: 3.44 MB / 0.6154 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/0.5681, allocations: 5.898 MB / 0.6212 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.5801, allocations: 10.01 MB / 0.631 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.224e-05/0.5801, allocations: 24 kB / 0.631 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01813/0.5983, allocations: 10.9 MB / 0.6416 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.5983, allocations: 36 kB / 0.6417 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.5985, allocations: 80 kB / 0.6418 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2339/0.8324, allocations: 1.377 MB / 0.6431 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/0.8371, allocations: 1.615 MB / 0.6447 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.8475, allocations: 10.98 MB / 0.6554 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/0.8518, allocations: 399.3 kB / 0.6558 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009186/0.8528, allocations: 341.4 kB / 0.6561 GB, free: 200.4 MB / 0.5261 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.0078/0.8606, allocations: 4.164 MB / 0.6602 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/0.862, allocations: 0.4985 MB / 0.6607 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.8729, allocations: 8.395 MB / 0.6689 GB, free: 195.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007192/0.8801, allocations: 7.029 MB / 0.6757 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.8801, allocations: 12 kB / 0.6757 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.8802, allocations: 26.53 kB / 0.6758 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/0.9043, allocations: 17.83 MB / 0.6932 GB, free: 176.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.9043, allocations: 0 / 0.6932 GB, free: 176.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.9062, allocations: 0.9417 MB / 0.6941 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.908, allocations: 1.229 MB / 0.6953 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002946/0.9083, allocations: 120.3 kB / 0.6954 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008047/0.9164, allocations: 9.699 MB / 0.7049 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9164, allocations: 11.72 kB / 0.7049 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.9281, allocations: 12.22 MB / 0.7168 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.9302, allocations: 1.119 MB / 0.7179 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/0.9308, allocations: 103.9 kB / 0.718 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.9322, allocations: 263.8 kB / 0.7183 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/0.9327, allocations: 372.3 kB / 0.7186 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.9329, allocations: 156 kB / 0.7188 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003043/0.9359, allocations: 2.768 MB / 0.7215 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9359, allocations: 0 / 0.7215 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005522/0.9414, allocations: 1.918 MB / 0.7233 GB, free: 146.6 MB / 0.5261 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.01138/0.9528, allocations: 13 MB / 0.736 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009396/0.9622, allocations: 8.371 MB / 0.7442 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.9622, allocations: 4 kB / 0.7442 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004233/0.9665, allocations: 3.886 MB / 0.748 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.9702, allocations: 1.136 MB / 0.7491 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08585/1.056, allocations: 63.64 MB / 0.8113 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005219/1.061, allocations: 6.59 MB / 0.8177 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004653/1.066, allocations: 2.317 MB / 0.82 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00582/1.072, allocations: 3.894 MB / 0.8238 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/1.072, allocations: 0 / 0.8238 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/1.414, allocations: 152.6 MB / 0.9728 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.65, allocations: 4 kB / 0.9728 GB, free: 119.3 MB / 0.5261 GB " [Timeout remaining time 647] (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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 14.875623324885964]